restic/internal/archiver
Sebastian Hoß c133065a9f Check command result before snapshotting
Return with an error containing the stderr of the given command in case it fails. No new snapshot will be created and future prune operations on the repository will remove the unreferenced data.

Signed-off-by: Sebastian Hoß <seb@xn--ho-hia.de>
2023-10-27 23:58:51 +02:00
..
archiver_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
archiver_unix_test.go Remove unused context or testing parameters 2023-05-18 21:17:53 +02:00
archiver_windows_test.go Remove unused context or testing parameters 2023-05-18 21:17:53 +02:00
archiver.go Check command result before snapshotting 2023-10-27 23:58:51 +02:00
blob_saver_test.go Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
blob_saver.go archiver: Asynchronously complete FutureFile 2022-10-30 10:29:11 +01:00
buffer.go archiver: Remove cleanup goroutine from BufferPool 2022-05-29 17:09:16 +02:00
doc.go archiver: Add high-level documentation 2018-05-12 23:55:54 +02:00
file_saver_test.go test: use parameter instead of hardcoded constant 2023-05-18 21:17:53 +02:00
file_saver.go archiver: Fix race condition resulting in files containing null IDs 2022-11-10 20:19:37 +01:00
scanner_test.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
scanner.go archiver: remove unused fileInfo from progress callback 2022-07-23 14:16:23 +02:00
testing_test.go repository: Remove empty cleanup functions in tests 2022-12-11 11:06:25 +01:00
testing.go Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
tree_saver_test.go Replace lots of unused parameters with _ 2023-05-18 21:17:53 +02:00
tree_saver.go tweak debug logs 2023-04-23 11:38:06 +02:00
tree_test.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
tree.go archiver/tree: Introduce functions Leaf() and NodeNames() 2021-01-29 11:11:28 +01:00