restic/cmd/restic
Stephan Paul df07814ec2 forget json output: added id's in snapshots within reasons object
In order to evaluate the keep reasons for snapshots, there should be also the id's
to compare it with snapshots within the keep object. (See also Issue #3117)

In order to avoid output parameters also changed function addJSONSnapshots to asJSONSnapshots
2024-03-29 11:30:00 +01:00
..
testdata index: deprecate legacy index format 2024-03-09 18:21:14 +01:00
.gitignore
cleanup.go update comment 2024-02-22 22:00:42 +01:00
cmd_backup.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01: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_cache.go Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
cmd_cat.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_cat_test.go cat: extract parameter validation and add a test 2023-08-13 19:17:46 +02:00
cmd_check.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_copy.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_copy_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +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.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_dump.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_features.go add feature flag documentation 2024-03-09 17:29:52 +01:00
cmd_find.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +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_forget.go forget json output: added id's in snapshots within reasons object 2024-03-29 11:30:00 +01:00
cmd_forget_integration_test.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_forget_test.go forget: simplify test 2023-07-28 19:21:40 +02:00
cmd_generate.go Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
cmd_init.go Fix repository not being printed when using repository file 2024-01-08 21:33:05 +01:00
cmd_init_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +02:00
cmd_key.go key: move add, list, remove, passwd to sub-commands 2024-02-06 01:47:43 +05:30
cmd_key_add.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01: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 lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_key_passwd.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_key_remove.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_list.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_list_integration_test.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_ls.go ls: add missing read lock 2024-03-28 23:17:02 +01: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_migrate.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_mount.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_mount_integration_test.go correctly lock repository in integration tests 2024-03-28 23:17:02 +01:00
cmd_options.go Fix linter errors (except for tests) 2024-02-10 22:58:10 +01:00
cmd_prune.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_prune_integration_test.go Remove all usages of the global command-specific options 2024-01-23 19:21:39 +01:00
cmd_recover.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_repair.go Rename 'rebuild-index' to 'repair index' 2023-05-01 15:16:44 +02:00
cmd_repair_index.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_repair_index_integration_test.go move Backend interface to backend package 2023-10-25 23:00:18 +02:00
cmd_repair_packs.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_repair_snapshots.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_repair_snapshots_integration_test.go Restructure integration tests 2023-05-26 19:38:43 +02:00
cmd_restore.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_restore_integration_test.go restore: pass termStatus to restore in tests 2023-06-09 12:03:33 +02:00
cmd_rewrite.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_self_update.go Reinstate selfupdate tag to make builds without self-update work 2022-12-26 21:46:22 +04:00
cmd_snapshots.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01: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_stats.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_stats_test.go stats: Add debug mode to collect repository statistics 2023-07-08 23:04:47 +02:00
cmd_tag.go lock: replace lockRepo(Exclusive) with openWith(Read/Write/Exclusive)Lock 2024-03-28 22:46:33 +01:00
cmd_tag_integration_test.go CI: Update golangci-lint to version 1.57.1 2024-03-28 18:15:50 +01: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
delete.go split deleteFiles into UI and logic parts 2024-01-27 12:51:08 +01:00
doc.go
exclude.go backup: improve error message if exclude file cannot be loaded 2024-02-11 22:26:13 +01:00
exclude_test.go cmd, ui: Move size parsing code and make it more robust 2023-07-02 21:44:50 +02:00
find.go convert MemorizeList to be repository based 2023-10-25 23:01:35 +02:00
flags_test.go Replace most usages of ioutil with the underlying function 2022-12-02 19:36:43 +01:00
format.go Refactor formatNode 2023-06-08 19:12:49 +02:00
format_test.go Make formatNode test timezone independent 2023-06-08 19:18:30 +02:00
global.go Merge branch 'patch-release' 2024-02-04 20:21:42 +01: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 correctly lock repository in integration tests 2024-03-28 23:17:02 +01: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 correctly lock repository in integration tests 2024-03-28 23:17:02 +01:00
lock.go repository: remove global list of locks 2024-03-28 22:46:33 +01:00
main.go features: print warning for stable/depreacted feature flags 2024-03-09 17:29:52 +01:00
progress.go repair pack: extract the repair logic into the repository package 2024-01-27 12:51:45 +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
termstatus.go backup/restore: fix termstatus initialization 2024-01-27 12:51:08 +01:00