diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-03-29 10:55:32 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2020-03-29 10:55:32 +0800 |
commit | 9824585960f09729c5547d60edaea5d97fdb595f (patch) | |
tree | 5c57e738d06cc9fc35d7479fe1ba3e576c918f83 /src/traverse.rs | |
parent | 6b90258662810ce740f7f9ad44234e10f3367fc3 (diff) |
cleanup 'quick-hack' done in 2.3.9 - much better now
Diffstat (limited to 'src/traverse.rs')
-rw-r--r-- | src/traverse.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/traverse.rs b/src/traverse.rs index c971bd1..ab4eff9 100644 --- a/src/traverse.rs +++ b/src/traverse.rs @@ -78,16 +78,7 @@ impl Traversal { // Also means that we will spin up a bunch of threads per root path, instead of reusing them. walk_options.threads = num_cpus::get(); } - let input_len = input.len(); for path in input.into_iter() { - // For now, bluntly ignore symlinks that are on the top-level, and there are more roots to follow - if input_len > 1 { - if let Ok(meta) = path.symlink_metadata() { - if meta.file_type().is_symlink() { - continue; - } - } - } let mut last_seen_eid = 0; for (eid, entry) in walk_options .iter_from_path(path.as_ref()) |