restic/cmd/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 Add prune integration tests for many edge cases 2020-10-06 20:20:05 +02:00
.gitignore Moves files 2017-07-23 14:19:13 +02:00
cleanup.go Replace fmt.Printf/Println/Fprintf with wrapper functions 2020-06-14 11:08:11 +02:00
cmd_backup.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_cache.go cache/check: Clarify error message when given arguments 2020-10-06 00:08:59 +02:00
cmd_cat.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_check.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_copy.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_debug.go Embed context into ReaderAt 2020-10-09 22:39:07 +02:00
cmd_diff.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_dump.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_dump_test.go dump: Add test for splitPath 2020-08-30 16:00:48 +02:00
cmd_find.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_forget.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_generate.go Update usage strings to put flags before args 2020-08-28 02:16:22 +00:00
cmd_init.go Add new option --repository-file (default: $RESTIC_REPOSITORY_FILE) 2020-10-01 00:50:26 +02:00
cmd_key.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_list.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_ls.go Merge pull request #2630 from MichaelEischer/fix-staticcheck 2020-09-13 16:19:22 +02:00
cmd_migrate.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_mount.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_options.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_prune.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_rebuild_index.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_recover.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_restore.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_self_update.go Don't require self-update --output placeholder file 2020-10-03 07:02:23 +02:00
cmd_snapshots.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_snapshots_test.go Regression test for #2979 2020-10-05 15:08:09 +02:00
cmd_stats.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_tag.go Pass context to lockRepo 2020-10-09 22:39:06 +02:00
cmd_unlock.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
cmd_version.go Add documentation on exit status codes to man pages 2020-02-12 23:09:26 +01:00
delete.go Don’t print too many messages when deleting files 2020-09-27 14:24:04 +02:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
exclude.go Check error in archiver before calling Select 2020-10-05 11:11:04 +02:00
exclude_test.go Support excluding files by size 2020-09-19 19:52:09 +08:00
find.go pass context to Find / FindSnapshot 2020-10-09 22:37:56 +02:00
flags_test.go Moves files 2017-07-23 14:19:13 +02:00
format.go Dead code removal 2020-08-04 08:38:57 +02:00
global.go rest: use global context on repository creation 2020-10-09 22:39:06 +02:00
global_debug.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_release.go Add profile build flag 2018-04-30 14:19:04 +02:00
global_test.go Add test for --repository-file 2020-10-01 00:50:27 +02:00
integration_fuse_test.go integration_fuse_test: use global context 2020-10-09 22:37:56 +02:00
integration_helpers_test.go Remove a few unused variables 2020-09-05 10:06:23 +02:00
integration_helpers_unix_test.go integration tests: Redirect directory diff into intermediate buffer 2020-08-29 10:48:44 +02:00
integration_helpers_windows_test.go integration tests: Redirect directory diff into intermediate buffer 2020-08-29 10:48:44 +02:00
integration_test.go Merge pull request #2844 from aawsome/prune-integration-tests 2020-10-06 23:16:41 +02:00
local_layout_test.go Support specifying multiple host flags for various commands 2020-02-26 22:17:59 +01:00
lock.go Skip unlocking for nil locks 2020-10-09 22:39:06 +02:00
main.go Don't read password for generate, help or self-update 2020-10-05 19:54:07 +02:00
progress.go Unify progress bar of check and prune commands 2020-08-25 22:47:38 +02:00
secondary_repo.go Correct data type for --repo2 option 2020-10-02 21:10:52 +02:00