2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-15 23:32:21 +00:00
restic/cmd/restic
Alexander Neumann 3e0a97fb13 Fix restore filter
Internally rename restorer.Filter -> restorer.SelectForRestore to make
semantic clear.

In addition, swap parameters to filepath.Match() so that the pattern can
really be matched.

Limitation: The filter only works on the filename, not on any path
component, e.g. '*.go' selects all go files, 'subdir/foo*' doesn't
select anything.

Fixes #202.
2015-07-09 20:12:31 +02:00
..
testdata Automatically find fixtures for integration test 2015-06-21 17:40:21 +02:00
.gitignore Rename khepri -> restic 2014-12-05 21:45:49 +01:00
cmd_backup.go cmd_backup: filter non-existing target files/dirs 2015-07-06 23:02:16 +02:00
cmd_cache.go cmd/restic: Add lock handling, interrupt cleanup 2015-06-28 13:52:22 +02:00
cmd_cat.go repository: Rename Load() -> LoadAndDecrypt() 2015-07-05 11:07:10 +02:00
cmd_dump.go cmd/restic: Add lock handling, interrupt cleanup 2015-06-28 13:52:22 +02:00
cmd_find.go cmd/restic: Add lock handling, interrupt cleanup 2015-06-28 13:52:22 +02:00
cmd_fsck.go cmd/restic: Add lock handling, interrupt cleanup 2015-06-28 13:52:22 +02:00
cmd_init.go Ask for password after create repo succeeded 2015-06-26 13:58:43 -04:00
cmd_key.go cmd/restic: Do not require exclusive lock for listing keys 2015-06-28 13:52:22 +02:00
cmd_list.go cmd/restic: Add lock handling, interrupt cleanup 2015-06-28 13:52:22 +02:00
cmd_ls.go cmd/restic: Rename variable, no functional changes 2015-06-28 13:52:22 +02:00
cmd_restore.go Fix restore filter 2015-07-09 20:12:31 +02:00
cmd_snapshots.go Command snapshots: do not list first dir twice 2015-07-06 22:26:31 +02:00
cmd_unlock.go cmd/restic: Add command unlock, improve error message 2015-06-28 13:52:23 +02:00
cmd_version.go Add build.go 2015-06-24 20:29:58 +02:00
doc.go Add doc stubs to all the packages 2015-05-09 13:00:01 +02:00
global.go Add build.go 2015-06-24 20:29:58 +02:00
integration_helpers_test.go fix darwin integration tests 2015-07-09 11:13:40 -04:00
integration_test.go Add last integration tests, remove testsuite 2015-06-21 17:40:22 +02:00
lock.go sftp: Use own process group for ssh subprocess 2015-07-05 11:07:10 +02:00
main.go Restructure cmd/restic, no functional changes 2015-06-21 17:40:22 +02:00