trees: count a nested dupe tree once in the reclaimable total (closes #168)
check / check (push) Canceled after 0s
check / check (push) Canceled after 0s
The total summed `size` over every row, so a `dupe` inside another row's `dupe` was counted twice. It now leaves out a row whose `dupe` lies inside another row's `dupe`. The rows are unchanged. README defines the total to match. Model: opus-5-5
This commit is contained in:
1 parent
db56fd0e4c
commit
caea0bae3c
4 files changed
+110
-14
No files matched your search
@@ -849,7 +849,8 @@ The summary line on stderr gives:
|
||||
- the records read;
|
||||
- the duplicate-tree groups;
|
||||
- the dupe trees, which is the number of rows;
|
||||
- the reclaimable bytes, the sum of `size` over all rows.
|
||||
- the reclaimable bytes, the sum of `size` over all rows, leaving out a row
|
||||
whose `dupe` lies inside another row's `dupe`.
|
||||
|
||||
```
|
||||
trees: 14 records read, 1 duplicate tree groups, 1 dupe trees, 3.0 KiB reclaimable
|
||||
|
||||
Reference in new issue
Block a user