aboutsummaryrefslogtreecommitdiff
path: root/cmd/krino/matching_test.go
Commit message (Collapse)AuthorAgeFilesLines
* krino: 0.0.3 — the plan as one block per file, wrapped, and -Pv0.0.3Lukasz Kasprzak5 days1-8/+12
| | | | | | | | Each file shows its steps, then the rule and the reason it matched, one field per line; on a terminal every line wraps to its width with continuation lines under their own column, and piped output is never wrapped. Choosing per file shows the same block. -P / --no-pager prints the plan without the pager. A duplicate's original is shown with ~.
* krino: duplicates are found, never deletedLukasz Kasprzak5 days1-2/+2
| | | | | | | | | 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: acting — trash, journal, apply, lock, review, undoLukasz Kasprzak7 days1-2/+97
|
* krino: planning — chains, placeholders, conflicts, JSONLukasz Kasprzak7 days1-11/+39
|
* krino: matching — scan, ignore, conditions, extraction, duplicates, ↵Lukasz Kasprzak8 days1-0/+374
explain, dry run