1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2025-03-04 18:48:39 +00:00
restic/internal/restorer
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
..
doc.go
filerestorer.go Add more checks for canceled contexts 2024-07-31 19:30:47 +02:00
filerestorer_test.go restore: allow deleting a directory to replace it with a file 2024-07-05 22:38:39 +02:00
fileswriter.go cleanup imports 2024-08-31 17:37:25 +02:00
fileswriter_other_test.go
fileswriter_test.go Fix typos 2024-08-11 21:38:15 +02:00
fileswriter_windows_test.go
hardlinks_index.go
hardlinks_index_test.go
restorer.go ui: restore --delete indicates number of deleted files (#5100) 2024-12-01 15:29:11 +01:00
restorer_test.go minimize usage of internal/fs in tests 2024-08-31 18:20:41 +02:00
restorer_unix.go
restorer_unix_test.go restore: Add progress bar to 'restore --verify' 2024-08-11 22:25:21 +02:00
restorer_windows.go Fix typos 2024-08-11 21:38:15 +02:00
restorer_windows_test.go fs: move WindowsAttributes definition back to restic package 2024-08-31 18:40:36 +02:00
sparsewrite.go
truncate_other.go
truncate_windows.go