From c7f1f912f04f7ed59de5908da791da5725504ee1 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Sat, 9 Nov 2024 18:26:19 +0100 Subject: [PATCH] arg name --- src/utils/routes/cours.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/routes/cours.rs b/src/utils/routes/cours.rs index 33ce89e..247ef6e 100644 --- a/src/utils/routes/cours.rs +++ b/src/utils/routes/cours.rs @@ -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(