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(