1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-25 01:06:39 +00:00
restic/internal/restic
Michael Eischer 5d3c5b9e50 restic: ignore filenames which are not IDs when expanding a prefix
Some backends generate additional files for each existing file, e.g.

1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef
1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef.sha256

For some commands this leads to an "multiple IDs with prefix" error when
trying to reference a snapshot.
2022-09-27 20:30:40 +02:00
..
testdata restic: Use stable sorting in snapshot policy 2022-08-07 14:10:40 +02:00
backend.go
backend_find.go restic: ignore filenames which are not IDs when expanding a prefix 2022-09-27 20:30:40 +02:00
backend_find_test.go
blob.go crypto: move crypto buffer helpers 2022-07-17 13:42:23 +02:00
blob_set.go
blob_test.go
config.go repository: extract Load/StoreJSONUnpacked 2022-07-17 13:22:00 +02:00
config_test.go repository: extract Load/StoreJSONUnpacked 2022-07-17 13:22:00 +02:00
doc.go
duration.go comment cleanup 2022-08-18 20:15:38 +02:00
duration_test.go forget: Fail test if duration parsing error is missing 2022-08-18 20:14:09 +02:00
file.go
file_test.go
find.go repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
find_test.go repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
id.go
id_int_test.go
id_test.go
ids.go
ids_test.go
idset.go
idset_test.go
json.go repository: extract Load/StoreJSONUnpacked 2022-07-17 13:22:00 +02:00
lock.go Only display the message if there were locks to be removed 2022-09-24 19:02:24 +08:00
lock_test.go Only display the message if there were locks to be removed 2022-09-24 19:02:24 +08:00
lock_unix.go
lock_windows.go
mknod_unix.go
node.go use os.Remove if path already exists on symlink restore 2022-09-14 08:14:31 +02:00
node_aix.go
node_darwin.go
node_freebsd.go
node_linux.go
node_netbsd.go
node_openbsd.go
node_solaris.go
node_test.go
node_unix.go
node_unix_test.go
node_windows.go
node_xattr.go restic: Cleanup xattr error handling for Solaris 2022-08-23 21:25:15 +02:00
repository.go repository: optimize MasterIndex.Each 2022-09-24 12:21:59 +02:00
rewind_reader.go
rewind_reader_test.go
snapshot.go Fix quadratic time complexity of Snapshot.HasPaths 2022-08-30 04:38:17 +03:00
snapshot_find.go repository: extract Load/StoreJSONUnpacked 2022-07-17 13:22:00 +02:00
snapshot_find_test.go
snapshot_group.go
snapshot_policy.go restic: Use stable sorting in snapshot policy 2022-08-07 14:10:40 +02:00
snapshot_policy_test.go
snapshot_test.go repository: extract Load/StoreJSONUnpacked 2022-07-17 13:22:00 +02:00
tag_list.go
tag_list_test.go
testing.go fuse: cleanup test 2022-08-05 23:46:46 +02:00
testing_test.go
tree.go archiver: Incrementally serialize tree nodes 2022-07-23 14:45:07 +02:00
tree_stream.go repository: extract LoadTree/SaveTree 2022-07-17 13:11:28 +02:00
tree_test.go archiver: Incrementally serialize tree nodes 2022-07-23 14:45:07 +02:00
zeroprefix.go restorer: move zeroPrefixLen to restic package 2022-09-24 21:39:39 +02:00
zeroprefix_test.go restorer: move zeroPrefixLen to restic package 2022-09-24 21:39:39 +02:00