restic/internal/ui/restore
Michael Terry a376323331 restore: print JSON versions of errors in --json mode
Previously, they were printed as freeform text.

This also adds a ui.Terminal interface to make writing
tests easier and also adds a few tests.
2024-08-03 15:18:46 -04:00
..
json.go restore: print JSON versions of errors in --json mode 2024-08-03 15:18:46 -04:00
json_test.go restore: print JSON versions of errors in --json mode 2024-08-03 15:18:46 -04:00
progress.go restore: print JSON versions of errors in --json mode 2024-08-03 15:18:46 -04:00
progress_test.go restore: print JSON versions of errors in --json mode 2024-08-03 15:18:46 -04:00
text.go restore: print JSON versions of errors in --json mode 2024-08-03 15:18:46 -04:00
text_test.go restore: print JSON versions of errors in --json mode 2024-08-03 15:18:46 -04:00