• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nbari / backup / 27096443186

07 Jun 2026 03:14PM UTC coverage: 77.532% (-0.07%) from 77.606%
27096443186

push

github

nbari
Implement edit: add/remove a backup's directories and files

- edit was a dead stub (subcommand defined but no dispatch arm); wire it up
  via dispatch/cmd_edit.rs, Action::Edit, actions/edit.rs, and the bin match.
- `edit <name> -d DIR -f FILE` adds (existence-checked); `--rm-dir/--rm-file`
  remove (string match, path need not exist). No flags prints current config.
- Normalize & replace: collapse dirs to non-overlapping parents and drop files
  now covered by a dir (same invariant as new); engine/edit.rs + catalog
  set_directories/set_files; get_unique_dir_parents exposed from create.
- Extract duplicated clap validators into commands/validators.rs (shared by
  new and edit).
- README documents edit. 57 tests passing.

195 of 273 new or added lines in 10 files covered. (71.43%)

2174 of 2804 relevant lines covered (77.53%)

6.98 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/cli/dispatch/cmd_edit.rs


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc