restic/internal/restic
Michael Eischer 9aa2eff384 Add plumbing to calculate backend specific file hash for upload
This enables the backends to request the calculation of a
backend-specific hash. For the currently supported backends this will
always be MD5. The hash calculation happens as early as possible, for
pack files this is during assembly of the pack file. That way the hash
would even capture corruptions of the temporary pack file on disk.
2021-08-04 22:17:46 +02:00
..
testdata forget: Add --keep-within-hourly (and friends) 2021-07-24 16:14:43 +00:00
backend.go Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
backend_find.go Improve error reporting from restic diff 2020-11-11 16:40:40 +01:00
backend_find_test.go Improve error reporting from restic diff 2020-11-11 16:40:40 +01:00
blob.go Use BlobHandle in index methods 2020-11-22 20:41:12 +01:00
blob_set.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
blob_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
buffer.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
config.go Disable polynomial check for chunker for tests 2018-03-11 20:59:40 +01:00
config_test.go internal/restic: fix dropped test error 2020-02-12 13:32:45 -08:00
doc.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
duration.go Extend custom Duration granularity to hours and add tests 2018-11-14 17:27:02 +01:00
duration_test.go Extend custom Duration granularity to hours and add tests 2018-11-14 17:27:02 +01:00
file.go restic/file: Use FileType for all File constants 2020-09-05 10:07:16 +02:00
file_test.go Use "pack file" instead of "data file" (#2885) 2020-08-16 11:16:38 +02:00
find.go restic: let FindUsedBlobs handle multiple snapshots at once 2021-01-28 11:08:43 +01:00
find_test.go restic: Test progress reporting of StreamTrees 2021-01-28 11:10:50 +01:00
hardlinks_index.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
hardlinks_index_test.go Merge a few variable declaration and initializations 2020-09-05 10:05:34 +02:00
id.go Use Minio's optimized SHA-256 2020-04-28 07:57:18 +02:00
id_int_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
id_test.go restic: Make JSON unmarshal for ID more efficient 2019-04-13 13:38:39 +02:00
ids.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
ids_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
idset.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
idset_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
lock.go restic: parallelize lock file loading 2020-12-18 20:46:16 +01:00
lock_test.go Update Lock.Time in lock.Refresh() 2019-09-04 11:38:35 -07:00
lock_unix.go Add more error handling 2021-01-30 20:19:47 +01:00
lock_windows.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
mknod_unix.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node_aix.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node_darwin.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node_freebsd.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node_linux.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node_netbsd.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node_openbsd.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node_solaris.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node_test.go Add more error handling 2021-01-30 20:19:47 +01:00
node_unix.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node_unix_test.go Fix test 2018-07-14 11:51:34 +02:00
node_windows.go Make restic.{lchown,mknod} regular functions 2021-05-27 22:51:40 +02:00
node_xattr.go Portability fixes to internal/restic 2020-12-29 01:35:01 +01:00
readerat.go Properly wrap errors in readerat helper 2021-05-17 21:08:23 +02:00
repository.go Count packs directly in RebuildIndexFiles 2020-12-22 23:01:58 +01:00
rewind_reader.go Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
rewind_reader_test.go Add plumbing to calculate backend specific file hash for upload 2021-08-04 22:17:46 +02:00
snapshot.go Allow --tag and --keep-tag to match untagged snapshots 2021-08-02 23:06:20 +02:00
snapshot_find.go Add ForAllSnapshots 2020-12-06 05:04:21 +01:00
snapshot_group.go Merge a few variable declaration and initializations 2020-09-05 10:05:34 +02:00
snapshot_policy.go forget: Ensure future snapshots do not affect --keep-within-* 2021-07-24 16:14:43 +00:00
snapshot_policy_test.go forget: Add --keep-within-hourly (and friends) 2021-07-24 16:14:43 +00:00
snapshot_test.go Allow --tag and --keep-tag to match untagged snapshots 2021-08-02 23:06:20 +02:00
tag_list.go feat(tags): Create Flatten() method 2020-12-29 10:59:46 +01:00
tag_list_test.go feat(tags): Create Flatten() method 2020-12-29 10:59:46 +01:00
testing.go Use BlobHandle in index methods 2020-11-22 20:41:12 +01:00
testing_test.go Remove LoadAllSnapshots 2020-12-06 05:22:27 +01:00
tree.go tree: Add convenience functions 2018-04-22 11:37:05 +02:00
tree_stream.go restic: add comment about StreamTrees shutdown 2021-01-28 11:10:50 +01:00
tree_test.go replace ad-hoc context.TODO() with gopts.ctx, so that cancellation 2017-12-03 07:22:14 -05:00