restic/internal/restic
Michael Eischer e638b46a13 Embed context into ReaderAt
The io.Reader interface does not support contexts, such that it is
necessary to embed the context into the backendReaderAt struct. This has
the problem that a reader might suddenly stop working when it's
contained context is canceled. However, this is now problem here as the
reader instances never escape the calling function.
2020-10-09 22:39:07 +02:00
..
testdata Support time ranges expressed in hours in snapshot retention policies 2018-11-26 14:27:42 +01:00
backend.go backend: Improve Save() 2018-03-03 15:49:44 +01:00
backend_find.go pass context to Find / FindSnapshot 2020-10-09 22:37:56 +02:00
backend_find_test.go pass context to Find / FindSnapshot 2020-10-09 22:37:56 +02:00
blob.go Chaining hash table for repository.Index 2020-07-19 13:58:22 +02: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 FindUsedBlobs: Test that seen blobs are skipped 2020-08-01 12:29:16 +02:00
find_test.go FindUsedBlobs: Test that seen blobs are skipped 2020-08-01 12:29:16 +02: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 unlock: use proper context for locks cleanup 2020-10-09 22:37:56 +02:00
lock_test.go Update Lock.Time in lock.Refresh() 2019-09-04 11:38:35 -07:00
lock_unix.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
lock_windows.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
node.go Centralize buffer allocation and size checking in Repository.LoadBlob 2020-04-23 10:04:20 +02:00
node_darwin.go Fix build on FreeBSD with Go 1.12 2019-03-06 09:41:49 -05:00
node_freebsd.go Drop support for Go version 1.11 2020-07-24 18:52:39 +02:00
node_linux.go internal/restic: close os.File after checking for error 2020-03-05 16:22:46 -08:00
node_netbsd.go Fix build on FreeBSD with Go 1.12 2019-03-06 09:41:49 -05:00
node_openbsd.go Fix build on FreeBSD with Go 1.12 2019-03-06 09:41:49 -05:00
node_solaris.go Fix build on FreeBSD with Go 1.12 2019-03-06 09:41:49 -05:00
node_test.go node: Make sure year of all timestamps is valid 2019-04-24 16:39:36 +02:00
node_unix.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
node_unix_test.go Fix test 2018-07-14 11:51:34 +02:00
node_windows.go windows: Use LastWriteTime for ctime and mtime 2019-05-05 14:02:11 +02:00
node_xattr.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
progress.go Control progress rate with RESTIC_PROGRESS_FPS env 2017-10-26 14:46:56 +08:00
progress_unix.go Make all signal.Notify channels buffered 2020-03-12 20:59:39 +01:00
progress_unix_with_siginfo.go Make all signal.Notify channels buffered 2020-03-12 20:59:39 +01:00
readerat.go Embed context into ReaderAt 2020-10-09 22:39:07 +02:00
repository.go Rename Index interface to MasterIndex 2020-07-25 21:19:46 +02:00
rewind_reader.go Use int64 for the length in the RewindReader 2018-03-04 10:40:42 +01:00
rewind_reader_test.go Use int64 for the length in the RewindReader 2018-03-04 10:40:42 +01:00
snapshot.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
snapshot_find.go pass context to Find / FindSnapshot 2020-10-09 22:37:56 +02:00
snapshot_group.go Merge a few variable declaration and initializations 2020-09-05 10:05:34 +02:00
snapshot_policy.go backup: Correct keep policy text 2020-09-28 14:26:53 +02:00
snapshot_policy_test.go Support time ranges expressed in hours in snapshot retention policies 2018-11-26 14:27:42 +01:00
snapshot_test.go Remove all dot-imports 2017-10-02 15:06:39 +02:00
tag_list.go remove unused code 2019-07-01 00:24:45 +03:00
testing.go checker: Properly distinguish between data and tree blobs 2020-07-20 22:58:39 +02:00
testing_test.go Move restic package to internal/restic 2017-07-24 17:43:32 +02:00
tree.go tree: Add convenience functions 2018-04-22 11:37:05 +02:00
tree_test.go replace ad-hoc context.TODO() with gopts.ctx, so that cancellation 2017-12-03 07:22:14 -05:00