1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-22 07:43:03 +00:00
restic/internal/repository
greatroar b5c28a7ba2 internal/restic: Use IDSet.Clone + use maps package
One place where IDSet.Clone is useful was reinventing it, using a
conversion to list, a sort, and a conversion back to map.

Also, use the stdlib "maps" package to implement as much of IDSet as
possible. This requires changing one caller, which assumed that cloning
nil would return a non-nil IDSet.
2024-10-03 21:14:29 +02:00
..
hashing hashing: move to repository package 2024-05-25 13:13:03 +02:00
index internal/restic: Use IDSet.Clone + use maps package 2024-10-03 21:14:29 +02:00
pack pack: move to repository package 2024-05-25 13:13:03 +02:00
testdata
check.go Switch back to sha256 from the std library 2024-08-10 19:16:10 +02:00
doc.go
fuzz_test.go
key.go
lock.go
lock_test.go
packer_manager.go repository: remove redundant cleanup code 2024-08-31 17:37:25 +02:00
packer_manager_test.go
packer_uploader.go
prune.go Fix typos 2024-07-03 20:02:06 +02:00
prune_test.go replace deprecated usages of math/rand 2024-08-10 19:34:49 +02:00
raw.go
raw_test.go cache: move to backend package 2024-05-24 23:04:06 +02:00
repack.go
repack_test.go replace deprecated usages of math/rand 2024-08-10 19:34:49 +02:00
repair_index.go index: remove support for legacy index format 2024-08-31 17:12:43 +02:00
repair_index_test.go replace deprecated usages of math/rand 2024-08-10 19:34:49 +02:00
repair_pack.go
repair_pack_test.go replace deprecated usages of math/rand 2024-08-10 19:34:49 +02:00
repository.go cache: remove redundant index file cleanup 2024-08-17 00:21:49 +05:30
repository_internal_test.go
repository_test.go index: remove support for legacy index format 2024-08-31 17:12:43 +02:00
testing.go
upgrade_repo.go
upgrade_repo_test.go