This commit is contained in:
Mylloon 2024-11-09 18:26:19 +01:00
parent eb55d13c01
commit c7f1f912f0
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -32,11 +32,11 @@ impl PartialOrd for FileNode {
#[once(time = 120)]
pub fn get_filetree(
dir_path: &str,
initial_dir: &str,
exclusion_list: &[String],
exclusion_patterns: &[Regex],
) -> FileNode {
gen_filetree(dir_path, exclusion_list, exclusion_patterns)
gen_filetree(initial_dir, exclusion_list, exclusion_patterns)
}
fn gen_filetree(