summaryrefslogtreecommitdiff
path: root/internal/plan/chain_test.go
Commit message (Collapse)AuthorAgeFilesLines
* krino: duplicates are found, never deletedLukasz Kasprzak6 days1-0/+28
| | | | | | | | | 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.
* krino: planning — chains, placeholders, conflicts, JSONLukasz Kasprzak7 days1-0/+143