restic/internal/ui/restore
Srigovind Nayak d7d9af4c9f
ui: restore --delete indicates number of deleted files ()
* ui: restore --delete indicates number of deleted files

* adds new field `FilesDeleted` to the State struct, JSON and text progress updaters
* increment FilesDeleted count when ReportedDeletedFile

* ui: collect the files to be deleted, delete, then update the count post deletion

* docs: update scripting output fields for restore command

ui: report deleted directories and refactor function name to ReportDeletion
2024-12-01 15:29:11 +01:00
..
json.go ui: restore --delete indicates number of deleted files () 2024-12-01 15:29:11 +01:00
json_test.go ui: restore --delete indicates number of deleted files () 2024-12-01 15:29:11 +01:00
progress.go ui: restore --delete indicates number of deleted files () 2024-12-01 15:29:11 +01:00
progress_test.go ui: restore --delete indicates number of deleted files () 2024-12-01 15:29:11 +01:00
text.go ui: restore --delete indicates number of deleted files () 2024-12-01 15:29:11 +01:00
text_test.go ui: restore --delete indicates number of deleted files () 2024-12-01 15:29:11 +01:00