2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-23 21:27:34 +00:00
restic/cmd/restic
DRON-666 88c509e3e9 vss: Change ErrorHandler signature
We don't need `error` here: the only existing implementation
of `ErrorHandler` always call `Backup.Error` and all
implementations of `Backup.Error` always return nil.
2024-04-28 22:44:16 +03:00
..
testdata index: deprecate legacy index format 2024-03-09 18:21:14 +01:00
.gitignore Moves files 2017-07-23 14:19:13 +02:00
cleanup.go remove global shutdown hook 2024-04-22 22:27:19 +02:00
cmd_backup_integration_test.go correctly lock repository in integration tests 2024-03-28 23:17:02 +01:00
cmd_backup_test.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
cmd_backup.go vss: Change ErrorHandler signature 2024-04-28 22:44:16 +03:00
cmd_cache.go Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
cmd_cat_test.go cat: extract parameter validation and add a test 2023-08-13 19:17:46 +02:00
cmd_cat.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_check_integration_test.go test: add helper to capture stdout for integration tests 2023-05-26 19:38:44 +02:00
cmd_check_test.go Fix typos 2023-12-06 13:11:55 +01:00
cmd_check.go let index.Each() and pack.Size() return error on canceled context 2024-04-22 22:39:32 +02:00
cmd_copy_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +02:00
cmd_copy.go Improve command shutdown on context cancellation 2024-04-22 22:31:38 +02:00
cmd_debug.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_diff_integration_test.go always access stdout/stderr via globalOptions 2023-05-26 19:38:44 +02:00
cmd_diff.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_dump_test.go dump: Add test for splitPath 2020-08-30 16:00:48 +02:00
cmd_dump.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_features.go add feature flag documentation 2024-03-09 17:29:52 +01:00
cmd_find_integration_test.go read JSON/Quiet flag from the passed in globalOptions 2023-05-26 19:38:44 +02:00
cmd_find.go let index.Each() and pack.Size() return error on canceled context 2024-04-22 22:39:32 +02:00
cmd_forget_integration_test.go prune/forget/repair index: convert output to use progress.Printer 2024-04-10 21:30:52 +02:00
cmd_forget_test.go forget: simplify test 2023-07-28 19:21:40 +02:00
cmd_forget.go Improve command shutdown on context cancellation 2024-04-22 22:31:38 +02:00
cmd_generate.go Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
cmd_init_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +02:00
cmd_init.go use standalone shutdown hook for readPasswordTerminal 2024-04-22 22:27:19 +02:00
cmd_key_add.go use standalone shutdown hook for readPasswordTerminal 2024-04-22 22:27:19 +02:00
cmd_key_integration_test.go key: fix integration test for invalid arguments 2024-02-08 20:52:30 +01:00
cmd_key_list.go key list: include full key id in JSON output 2024-03-31 12:25:20 +02:00
cmd_key_passwd.go use standalone shutdown hook for readPasswordTerminal 2024-04-22 22:27:19 +02:00
cmd_key_remove.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_key.go key: move add, list, remove, passwd to sub-commands 2024-02-06 01:47:43 +05:30
cmd_list_integration_test.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_list.go let index.Each() and pack.Size() return error on canceled context 2024-04-22 22:39:32 +02:00
cmd_ls_integration_test.go fix linter warning 2024-01-27 13:17:33 +01:00
cmd_ls_test.go ls: include standard message_type field in output 2024-01-27 15:48:24 +01:00
cmd_ls.go ls: add missing read lock 2024-03-28 23:17:02 +01:00
cmd_migrate.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_mount_integration_test.go mount: use standalone shutdown hook via goroutine 2024-04-22 22:27:19 +02:00
cmd_mount.go mount: fix exit code on cancellation 2024-04-22 22:27:19 +02:00
cmd_options.go Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
cmd_prune_integration_test.go prune: move additional option checks to repository 2024-04-14 13:44:58 +02:00
cmd_prune.go Improve command shutdown on context cancellation 2024-04-22 22:31:38 +02:00
cmd_recover.go let index.Each() and pack.Size() return error on canceled context 2024-04-22 22:39:32 +02:00
cmd_repair_index_integration_test.go prune/forget/repair index: convert output to use progress.Printer 2024-04-10 21:30:52 +02:00
cmd_repair_index.go repair index: refactor code into repository package 2024-04-10 21:30:52 +02:00
cmd_repair_packs.go Merge pull request #4763 from MichaelEischer/refactor-prune 2024-04-22 22:24:53 +02:00
cmd_repair_snapshots_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +02:00
cmd_repair_snapshots.go Improve command shutdown on context cancellation 2024-04-22 22:31:38 +02:00
cmd_repair.go Rename 'rebuild-index' to 'repair index' 2023-05-01 15:16:44 +02:00
cmd_restore_integration_test.go Merge pull request #4743 from MichaelEischer/deprecate-s3legacy-layout 2024-04-11 22:09:34 +02:00
cmd_restore.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_rewrite_integration_test.go correctly lock repository in integration tests 2024-03-28 23:17:02 +01:00
cmd_rewrite.go Improve command shutdown on context cancellation 2024-04-22 22:31:38 +02:00
cmd_self_update.go Reinstate selfupdate tag to make builds without self-update work 2022-12-26 21:46:22 +04:00
cmd_snapshots_integration_test.go read JSON/Quiet flag from the passed in globalOptions 2023-05-26 19:38:44 +02:00
cmd_snapshots_test.go Add more error checks 2021-01-30 20:02:37 +01:00
cmd_snapshots.go Improve command shutdown on context cancellation 2024-04-22 22:31:38 +02:00
cmd_stats_test.go stats: Add debug mode to collect repository statistics 2023-07-08 23:04:47 +02:00
cmd_stats.go let index.Each() and pack.Size() return error on canceled context 2024-04-22 22:39:32 +02:00
cmd_tag_integration_test.go CI: Update golangci-lint to version 1.57.1 2024-03-28 18:15:50 +01:00
cmd_tag.go Improve command shutdown on context cancellation 2024-04-22 22:31:38 +02:00
cmd_unlock.go Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
cmd_version.go Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
exclude_test.go cmd, ui: Move size parsing code and make it more robust 2023-07-02 21:44:50 +02:00
exclude.go backup: improve error message if exclude file cannot be loaded 2024-02-11 22:26:13 +01:00
find_test.go complete RESITC_HOST environment handling & test 2024-04-24 21:52:39 +02:00
find.go complete RESITC_HOST environment handling & test 2024-04-24 21:52:39 +02:00
flags_test.go Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
format_test.go Make formatNode test timezone independent 2023-06-08 19:18:30 +02:00
format.go Refactor formatNode 2023-06-08 19:12:49 +02:00
global_debug.go debug: replace cleanup handler usage in profiling setup 2024-04-22 22:27:19 +02:00
global_release.go debug: replace cleanup handler usage in profiling setup 2024-04-22 22:27:19 +02:00
global_test.go test: add helper to capture stdout for integration tests 2023-05-26 19:38:44 +02:00
global.go Merge pull request #4753 from MichaelEischer/remove-cleanup-handlers 2024-04-24 21:34:19 +02:00
integration_filter_pattern_test.go Remove unused context or testing parameters 2023-05-18 21:17:53 +02:00
integration_helpers_test.go let index.Each() and pack.Size() return error on canceled context 2024-04-22 22:39:32 +02:00
integration_helpers_unix_test.go Replace usages of ioutil.ReadDir 2022-12-02 19:54:27 +01:00
integration_helpers_windows_test.go Replace usages of ioutil.ReadDir 2022-12-02 19:54:27 +01:00
integration_test.go prune/forget/repair index: convert output to use progress.Printer 2024-04-10 21:30:52 +02:00
lock.go lock: drop cleanup handler 2024-04-22 22:27:19 +02:00
main.go get rid of a few global variables 2024-04-22 22:39:33 +02:00
progress.go repair pack: extract the repair logic into the repository package 2024-01-27 12:51:45 +01:00
secondary_repo_test.go use standalone shutdown hook for readPasswordTerminal 2024-04-22 22:27:19 +02:00
secondary_repo.go use standalone shutdown hook for readPasswordTerminal 2024-04-22 22:27:19 +02:00
termstatus.go backup/restore: fix termstatus initialization 2024-01-27 12:51:08 +01:00