2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-28 22:50:48 +00:00
restic/cmd/restic
David Brown d9e22c2df1 Add test for --json support for forget command
This adds a test of the json output of the forget command, by running it
once, asking it to keep one snapshot, and verifying that the output has
the right number of snapshots listed in the Keep and Remove fields of
the result.
2019-02-22 22:00:20 -07:00
..
testdata Reduce dataset for integration tests 2018-03-11 21:07:47 +01:00
.gitignore Moves files 2017-07-23 14:19:13 +02:00
cleanup.go Return exit code 130 when SIGINT is received 2018-04-20 21:09:50 +02:00
cmd_backup.go Merge pull request 2032 from j6s/feature.case-insensitive-exclude 2019-02-10 12:40:33 +01:00
cmd_cache.go Catch errors when walking cache directories 2018-10-08 15:47:34 +02:00
cmd_cat.go cat: Do not display a stack trace 2018-05-10 19:22:46 +02:00
cmd_check.go check: Update --cache-dir argument handling based on code review comments 2018-07-22 18:24:11 +01:00
cmd_debug.go Fix calls to repo/backend.List() everywhere 2018-01-21 21:15:09 +01:00
cmd_diff.go Make generated man pages more easy to read with items 2018-08-27 17:42:54 +02:00
cmd_dump.go dump: Use path instead of filepath 2018-11-10 12:43:11 +01:00
cmd_find.go Display local time for all commands 2018-11-02 20:36:15 +01:00
cmd_forget.go Add --json support to forget command 2019-02-22 22:00:15 -07:00
cmd_generate.go Rework generation of manpages and completion files 2017-09-26 13:12:12 +02:00
cmd_init.go init: Correct text (backend vs. repository) 2018-01-20 09:51:49 +01:00
cmd_key.go Display local time for all commands 2018-11-02 20:36:15 +01:00
cmd_list.go list: Improve error message 2018-05-17 19:41:56 +02:00
cmd_ls.go Merge pull request 1962 from mholt/lsjson 2018-10-14 15:51:38 +02:00
cmd_migrate.go Capitalize short help commands 2017-09-11 09:32:44 -07:00
cmd_mount.go more accurate umount help message, for #815 2019-01-28 16:53:35 -05:00
cmd_options.go Capitalize short help commands 2017-09-11 09:32:44 -07:00
cmd_prune.go prune: Fix calculation for removed bytes 2018-08-14 22:06:05 +02:00
cmd_rebuild_index.go index: Limit index files to 3000 pack files 2018-01-26 21:07:16 +01:00
cmd_recover.go Fix timestamps 2018-10-20 11:08:03 +02:00
cmd_restore.go Only convert iexclude & iinclude casing once 2019-01-19 11:04:53 +00:00
cmd_self_update.go Fix incorrect command name in long doc for self-update 2018-10-18 18:45:31 -04:00
cmd_snapshots.go Display local time for all commands 2018-11-02 20:36:15 +01:00
cmd_stats.go stats: Add shorthand flag -H for host name filter 2018-11-14 21:58:31 +00:00
cmd_tag.go debug: Remove manual Str() call Log() 2018-01-25 20:49:41 +01:00
cmd_unlock.go use global context for check, debug, dump, find, forget, init, key, 2017-12-06 07:02:55 -05:00
cmd_version.go Make version output one line. 2018-03-21 21:49:03 +01:00
doc.go Moves files 2017-07-23 14:19:13 +02:00
exclude_test.go Add tests for insensitive variants of filter methods 2018-11-25 13:32:16 +01:00
exclude.go Store reference to reject function for insensitive pattern rejection 2019-01-19 11:08:13 +00:00
find.go Fix calls to repo/backend.List() everywhere 2018-01-21 21:15:09 +01:00
flags_test.go Moves files 2017-07-23 14:19:13 +02:00
format.go Display local time for all commands 2018-11-02 20:36:15 +01: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.go Initial implementation of JSON progress reporter 2019-02-10 12:09:09 +01:00
integration_fuse_test.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
integration_helpers_test.go Support NetBSD without fuse 2018-06-16 15:55:04 +09:00
integration_helpers_unix_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_helpers_windows_test.go Moves files 2017-07-23 14:19:13 +02:00
integration_test.go Add test for --json support for forget command 2019-02-22 22:00:20 -07:00
local_layout_test.go Remove all dot-imports 2017-10-02 15:06:39 +02:00
lock.go mount: Ignore non-existing locks 2018-02-25 13:11:03 +01:00
main.go Add support for reading password from external command 2018-11-26 20:18:31 +01:00