1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-27 10:17:58 +00:00
restic/cmd/restic
Michael Eischer 88a10a368f
Merge pull request #4342 from greatroar/errors
cmd: Don't check for errno == 0
2023-05-31 22:17:07 +02:00
..
testdata
.gitignore
cleanup.go Print stacktrace in SIGINT handler if RESTIC_DEBUG_STACKTRACE_SIGINT set 2023-04-23 15:50:40 +02:00
cmd_backup.go backup: Remove unused parameters from rejectFunc collection 2023-05-18 21:17:53 +02:00
cmd_backup_integration_test.go fix linter warnings 2023-05-26 19:38:44 +02:00
cmd_backup_test.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
cmd_cache.go always access stdout/stderr via globalOptions 2023-05-26 19:38:44 +02:00
cmd_cat.go Add a global option --retry-lock 2023-04-07 16:24:14 +02:00
cmd_check.go Rename 'rebuild-index' to 'repair index' 2023-05-01 15:16:44 +02: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
cmd_copy.go repository: Push all usage of errors.Fatal out of the package 2023-05-18 17:27:41 +02:00
cmd_copy_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +02:00
cmd_debug.go always access stdout/stderr via globalOptions 2023-05-26 19:38:44 +02:00
cmd_diff.go always access stdout/stderr via globalOptions 2023-05-26 19:38:44 +02:00
cmd_diff_integration_test.go always access stdout/stderr via globalOptions 2023-05-26 19:38:44 +02:00
cmd_dump.go cmd, restic: Refactor and fix snapshot filtering 2023-04-13 22:51:45 +02:00
cmd_dump_test.go
cmd_find.go read JSON/Quiet flag from the passed in globalOptions 2023-05-26 19:38:44 +02:00
cmd_find_integration_test.go read JSON/Quiet flag from the passed in globalOptions 2023-05-26 19:38:44 +02:00
cmd_forget.go always access stdout/stderr via globalOptions 2023-05-26 19:38:44 +02:00
cmd_forget_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +02:00
cmd_forget_test.go forget: Prevent neg. values in --keep-within* opts 2023-03-14 19:20:03 -07:00
cmd_generate.go init/generate: check that no parameters are passed 2023-05-18 21:17:53 +02:00
cmd_init.go always access stdout/stderr via globalOptions 2023-05-26 19:38:44 +02:00
cmd_init_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +02:00
cmd_key.go Add a global option --retry-lock 2023-04-07 16:24:14 +02:00
cmd_key_integration_test.go test: add helper to capture stdout for integration tests 2023-05-26 19:38:44 +02:00
cmd_list.go Add a global option --retry-lock 2023-04-07 16:24:14 +02:00
cmd_list_integration_test.go test: add helper to capture stdout for integration tests 2023-05-26 19:38:44 +02:00
cmd_ls.go always access stdout/stderr via globalOptions 2023-05-26 19:38:44 +02:00
cmd_ls_integration_test.go read JSON/Quiet flag from the passed in globalOptions 2023-05-26 19:38:44 +02:00
cmd_ls_test.go Add file mode in symbolic notation to ls --json 2021-11-16 19:45:50 +02:00
cmd_migrate.go Add a global option --retry-lock 2023-04-07 16:24:14 +02:00
cmd_mount.go cmd, restic: Refactor and fix snapshot filtering 2023-04-13 22:51:45 +02:00
cmd_mount_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +02:00
cmd_options.go
cmd_prune.go repository: Push all usage of errors.Fatal out of the package 2023-05-18 17:27:41 +02:00
cmd_prune_integration_test.go cleanup prune integration test 2023-05-26 19:38:44 +02:00
cmd_recover.go Add a global option --retry-lock 2023-04-07 16:24:14 +02:00
cmd_repair.go Rename 'rebuild-index' to 'repair index' 2023-05-01 15:16:44 +02:00
cmd_repair_index.go repair index: always read Quiet flags from GlobalOptions passed as parameter 2023-05-26 19:38:44 +02:00
cmd_repair_index_integration_test.go test: add helper to capture stdout for integration tests 2023-05-26 19:38:44 +02:00
cmd_repair_snapshots.go repair snapshots: use local copy of globalOptions to open repository 2023-05-26 19:38:44 +02:00
cmd_repair_snapshots_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +02:00
cmd_restore.go read JSON/Quiet flag from the passed in globalOptions 2023-05-26 19:38:44 +02:00
cmd_restore_integration_test.go test: add helper to capture stdout for integration tests 2023-05-26 19:38:44 +02:00
cmd_rewrite.go repair snapshots: port to filterAndReplaceSnapshot 2023-05-01 15:22:03 +02:00
cmd_rewrite_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +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.go always access stdout/stderr via globalOptions 2023-05-26 19:38:44 +02: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
cmd_stats.go stats: pass StatsOptions via parameter 2023-05-18 21:17:53 +02:00
cmd_tag.go cmd, restic: Refactor and fix snapshot filtering 2023-04-13 22:51:45 +02:00
cmd_tag_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +02:00
cmd_unlock.go pass global context through cobra 2022-10-03 00:19:46 +02:00
cmd_version.go
delete.go Remove ctx from globalOptions 2022-10-03 00:19:46 +02:00
doc.go
exclude.go Cleanup exclude pattern collection 2022-11-12 19:55:22 +01:00
exclude_test.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00
find.go cmd, restic: Refactor and fix snapshot filtering 2023-04-13 22:51:45 +02:00
flags_test.go Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
format.go cmd, ui: Deduplicate formatting utilities 2022-10-23 13:40:07 +02:00
global.go Merge pull request #4342 from greatroar/errors 2023-05-31 22:17:07 +02:00
global_debug.go Allow cleanup handlers to filter the exit code 2022-08-26 23:04:59 +02:00
global_release.go add go:build headers everywhere 2022-03-28 22:23:47 +02:00
global_test.go test: add helper to capture stdout for integration tests 2023-05-26 19:38:44 +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 test: add helper to capture stdout for integration tests 2023-05-26 19:38:44 +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 Restructure integration tests 2023-05-26 19:38:43 +02:00
lock.go lock: remove unused parameter 2023-05-18 21:17:53 +02:00
lock_test.go Use either test or rtest to refer to internal test helpers 2023-05-18 21:15:45 +02:00
main.go Remove redundant if ...; err != nil; return pattern 2023-05-18 21:15:45 +02:00
progress.go progress: extract progress updating into Updater struct 2023-01-14 01:13:08 +01:00
secondary_repo.go Do not include the actual values of environment variables in help output 2022-08-26 20:39:54 +02:00
secondary_repo_test.go test: Use testing.T.Cleanup to remove tempdirs 2022-12-09 14:23:55 +01:00