restic/internal/ui
Srigovind Nayak d7d9af4c9f
ui: restore --delete indicates number of deleted files (#5100)
* 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
..
backup backup: include start and end time in json output 2024-11-01 16:31:34 +01:00
progress ui/progress: add helper to print messages during tests 2024-04-14 13:45:08 +02:00
restore ui: restore --delete indicates number of deleted files (#5100) 2024-12-01 15:29:11 +01:00
signals add go:build headers everywhere 2022-03-28 22:23:47 +02:00
table ui/table: avoid duplicate table cell width calculation 2024-06-07 21:45:40 +02:00
termstatus improve fprintf related error handling 2024-11-01 17:07:43 +01:00
format.go Use character display width for table padding 2024-06-05 09:33:15 +02:00
format_test.go Use character display width for table padding 2024-06-05 09:33:15 +02:00
message.go restore: print JSON versions of errors in --json mode 2024-08-03 15:18:46 -04:00
mock.go restore: print JSON versions of errors in --json mode 2024-08-03 15:18:46 -04:00
terminal.go restore: print JSON versions of errors in --json mode 2024-08-03 15:18:46 -04:00