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
+1
-1
@@ -111,7 +111,7 @@ fn ignore_file(entry: &DirEntry, walk_data: &WalkData) -> bool {
|
||||
let is_dot_file = entry.file_name().to_str().unwrap_or("").starts_with('.');
|
||||
let is_ignored_path = walk_data.ignore_directories.contains(&entry.path());
|
||||
|
||||
let size_inode_device = get_metadata(&entry.path(), false);
|
||||
let size_inode_device = get_metadata(entry.path(), false);
|
||||
if let Some((_size, Some((_id, dev)), (modified_time, accessed_time, changed_time))) =
|
||||
size_inode_device
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user