mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
streamline func APIs processing target_dirs
This commit is contained in:
committed by
andy.boot
parent
58c9f6d509
commit
3ed95ee399
+2
-2
@@ -193,9 +193,9 @@ fn main() {
|
||||
let follow_links = options.get_flag("dereference_links");
|
||||
|
||||
let allowed_filesystems = limit_filesystem
|
||||
.then(|| get_filesystem_devices(target_dirs.iter().cloned()))
|
||||
.then(|| get_filesystem_devices(&target_dirs))
|
||||
.unwrap_or_default();
|
||||
let simplified_dirs = simplify_dir_names(target_dirs);
|
||||
let simplified_dirs = simplify_dir_names(&target_dirs);
|
||||
|
||||
let ignored_full_path: HashSet<PathBuf> = ignore_directories
|
||||
.into_iter()
|
||||
|
||||
Reference in New Issue
Block a user