mirror of
https://github.com/sreedevk/deduplicator.git
synced 2026-10-22 19:25:04 +00:00
reduce memuse: fileinfo uses boxed path instead of pathbuf
reduce memuse: fileinfo does not store full metadata
This commit is contained in:
3 files changed
+9
-8
No files matched your search
+1
-1
@@ -18,7 +18,7 @@ impl Interactive {
|
||||
itable.set_titles(row!["index", "filename", "size", "updated_at"]);
|
||||
let max_path_size = group
|
||||
.iter()
|
||||
.map(|f| f.path.clone().into_os_string().len())
|
||||
.map(|f| f.path.iter().count())
|
||||
.max()
|
||||
.unwrap_or_default();
|
||||
|
||||
|
||||
Reference in new issue
Block a user