Commit bcbb0e2
committed
Fix older-than filter to use descendant mtime instead of directory mtime
When checking if a directory should be purged based on --older-than,
the retention filter now uses only the newest descendant file mtime,
ignoring the directory's own metadata timestamp. This prevents directories
with stale contents but recently updated metadata from being incorrectly
skipped during purge operations.1 parent 7311ae8 commit bcbb0e2
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
133 | | - | |
134 | | - | |
| 133 | + | |
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
| |||
0 commit comments