mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
better var name
This commit is contained in:
+2
-2
@@ -69,7 +69,7 @@ fn examine_dir(
|
|||||||
apparent_size: bool,
|
apparent_size: bool,
|
||||||
inodes: &mut HashSet<(u64, u64)>,
|
inodes: &mut HashSet<(u64, u64)>,
|
||||||
data: &mut HashMap<String, u64>,
|
data: &mut HashMap<String, u64>,
|
||||||
permissions: &mut u64,
|
file_count_no_permission: &mut u64,
|
||||||
) {
|
) {
|
||||||
for entry in WalkDir::new(top_dir) {
|
for entry in WalkDir::new(top_dir) {
|
||||||
if let Ok(e) = entry {
|
if let Ok(e) = entry {
|
||||||
@@ -97,7 +97,7 @@ fn examine_dir(
|
|||||||
e_path.pop();
|
e_path.pop();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
None => *permissions += 1,
|
None => *file_count_no_permission += 1,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user