Rename links utils mod
This commit is contained in:
parent
e8b04bb11a
commit
a0630efb76
@ -20,8 +20,8 @@ use crate::library::Library;
|
|||||||
use crate::ser::SerializingPage;
|
use crate::ser::SerializingPage;
|
||||||
use crate::utils::get_reading_analytics;
|
use crate::utils::get_reading_analytics;
|
||||||
use crate::utils::{find_related_assets, has_anchor};
|
use crate::utils::{find_related_assets, has_anchor};
|
||||||
|
use utils::anchors::has_anchor_id;
|
||||||
use utils::fs::read_file;
|
use utils::fs::read_file;
|
||||||
use utils::links::has_anchor_id;
|
|
||||||
|
|
||||||
// Based on https://regex101.com/r/H2n38Z/1/tests
|
// Based on https://regex101.com/r/H2n38Z/1/tests
|
||||||
// A regex parsing RFC3339 date followed by {_,-}, some characters and ended by .md
|
// A regex parsing RFC3339 date followed by {_,-}, some characters and ended by .md
|
||||||
|
@ -9,7 +9,7 @@ use libs::reqwest::{blocking::Client, StatusCode};
|
|||||||
use config::LinkChecker;
|
use config::LinkChecker;
|
||||||
use errors::anyhow;
|
use errors::anyhow;
|
||||||
|
|
||||||
use utils::links::has_anchor_id;
|
use utils::anchors::has_anchor_id;
|
||||||
|
|
||||||
pub type Result = result::Result<StatusCode, String>;
|
pub type Result = result::Result<StatusCode, String>;
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
|
pub mod anchors;
|
||||||
pub mod de;
|
pub mod de;
|
||||||
pub mod fs;
|
pub mod fs;
|
||||||
pub mod links;
|
|
||||||
pub mod net;
|
pub mod net;
|
||||||
pub mod site;
|
pub mod site;
|
||||||
pub mod slugs;
|
pub mod slugs;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user