move max path size update to a later stage in the pipeline for accurate results

This commit is contained in:
sreedevk committed 2025-07-13 14:24:24 +00:00
1 parent 184efdcbbc
commit 47b2fc4a87
3 files changed
+9 -6

No files matched your search

+1
View File
@@ -16,6 +16,7 @@ impl Interactive {
let mut itable = Table::new();
itable.set_format(*format::consts::FORMAT_NO_BORDER_LINE_SEPARATOR);
itable.set_titles(row!["index", "filename", "size", "updated_at"]);
let max_path_size = group
.iter()
.map(|f| f.path.iter().count())