diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-14 21:43:23 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-14 21:43:23 +0200 |
| commit | c497d173b24b1b8247fac9e996e5c0fe690c1769 (patch) | |
| tree | 2318ff1cf393e3a6c2a7d54c89e205ac6a9a5c73 /internal/engine | |
| parent | 360591d6e18d8676a2f86185ed42f46852387f85 (diff) | |
| download | krino-c497d173b24b1b8247fac9e996e5c0fe690c1769.tar.gz krino-c497d173b24b1b8247fac9e996e5c0fe690c1769.zip | |
plan 9: undo review matches review, --min-age validated, future mtimes, rule names, conflict enum, dependency gate, absolute tool paths
Diffstat (limited to 'internal/engine')
| -rw-r--r-- | internal/engine/match.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/engine/match.go b/internal/engine/match.go index fedc053..162730b 100644 --- a/internal/engine/match.go +++ b/internal/engine/match.go @@ -422,7 +422,7 @@ func explainSkip(d *Dir, sf scan.File, excl []string, now time.Time) string { if isBusy(sf.Path, d.Settings.Busy) { return "busy" } - if now.Sub(sf.ModTime) < d.Settings.MinAge { + if scan.Age(now, sf.ModTime) < d.Settings.MinAge { return "too new" } if d.Settings.MaxSize > 0 && sf.Size > d.Settings.MaxSize { |
