summaryrefslogtreecommitdiff
path: root/internal/engine/nodelete_test.go
Commit message (Collapse)AuthorAgeFilesLines
* krino: duplicates are found, never deletedLukasz Kasprzak6 days1-0/+212
A rule combining (duplicate) with a delete action is refused at load, and a file that is a duplicate under any duplicate scope its directory uses gets no delete step from any rule: the plan shows it skipped and the chain continues. A failed duplicate check blocks the delete too. Tests cover (matched), another rule's own condition, a test evaluation skipped, two scopes and a failed check, each checking every copy is still on disk.