restic/internal/archiver
Alexander Weiss 91906911b0 Fix non-intuitive repository behavior
- The SaveBlob method now checks for duplicates.
- Moves handling of pending blobs to MasterIndex.
  -> also cleans up pending index entries when they are saved in the index
  -> when using SaveBlob no need to care about index any longer
- Always check for full index and save it when storing packs.
  -> removes the need of an index uploader
  -> also removes the verbose "uploaded intermediate index" messages
- The Flush method now also saves the index
- Fix race condition when checking and saving full/non-finalized indexes
2020-06-11 13:05:23 +02:00
..
archiver_test.go Fix non-intuitive repository behavior 2020-06-11 13:05:23 +02:00
archiver_unix_test.go archiver: Use untyped constants for testing FileInfo 2019-05-05 14:57:38 +02:00
archiver_windows_test.go archiver: Use untyped constants for testing FileInfo 2019-05-05 14:57:38 +02:00
archiver.go Fix non-intuitive repository behavior 2020-06-11 13:05:23 +02:00
blob_saver_test.go Fix non-intuitive repository behavior 2020-06-11 13:05:23 +02:00
blob_saver.go Fix non-intuitive repository behavior 2020-06-11 13:05:23 +02:00
buffer.go archiver: Improve buffer pool 2018-04-30 15:13:28 +02:00
doc.go archiver: Add high-level documentation 2018-05-12 23:55:54 +02:00
file_saver_test.go archiver: Fix race condition triggered by TestArchiverAbortEarlyOnError 2020-04-13 18:23:17 +02:00
file_saver.go archiver: Fix race condition triggered by TestArchiverAbortEarlyOnError 2020-04-13 18:23:17 +02:00
scanner_test.go scanner: Use context only for cancellation 2018-09-08 18:53:12 +02:00
scanner.go Merge duplicated readdir functionality 2020-02-26 11:05:38 +01:00
testing_test.go Fix typos 2020-05-16 14:05:26 +08:00
testing.go Centralize buffer allocation and size checking in Repository.LoadBlob 2020-04-23 10:04:20 +02:00
tree_saver_test.go archiver: Fix race condition triggered by TestArchiverAbortEarlyOnError 2020-04-13 18:23:17 +02:00
tree_saver.go archiver: Fix race condition triggered by TestArchiverAbortEarlyOnError 2020-04-13 18:23:17 +02:00
tree_test.go Assert that archiver.Tree implements fmt.Stringer 2020-02-26 11:05:38 +01:00
tree.go Merge duplicated readdir functionality 2020-02-26 11:05:38 +01:00