2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-29 08:14: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 internal/repository: Fix LoadBlob + fuzz test 2022-06-06 17:02:28 +02:00
check.go Switch back to sha256 from the std library 2024-08-10 19:16:10 +02:00
doc.go gofmt all files 2022-08-19 19:12:26 +02:00
fuzz_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
key.go repository: move backend.LoadAll to repository.LoadRaw 2024-05-18 21:26:00 +02:00
lock_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
lock.go repository: wait max 1 minutes for lock removal if context is canceled 2024-05-24 20:24:02 +02:00
packer_manager_test.go repository: remove Packer and SavePacker from public interface 2024-05-24 21:33:17 +02:00
packer_manager.go repository: remove redundant cleanup code 2024-08-31 17:37:25 +02:00
packer_uploader.go repository: remove Packer and SavePacker from public interface 2024-05-24 21:33:17 +02:00
prune_test.go replace deprecated usages of math/rand 2024-08-10 19:34:49 +02:00
prune.go Fix typos 2024-07-03 20:02:06 +02:00
raw_test.go cache: move to backend package 2024-05-24 23:04:06 +02:00
raw.go repository: make reloading broken files explicit 2024-05-18 21:28:54 +02:00
repack_test.go replace deprecated usages of math/rand 2024-08-10 19:34:49 +02:00
repack.go repository: inline MasterIndex interface into Repository interface 2024-05-24 21:33:17 +02:00
repair_index_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_pack_test.go replace deprecated usages of math/rand 2024-08-10 19:34:49 +02:00
repair_pack.go index: replace Save() method with Rewrite and SaveFallback 2024-05-24 21:33:17 +02:00
repository_internal_test.go repository: convert test helper to return *repository.Repository 2024-05-18 21:38:31 +02:00
repository_test.go index: remove support for legacy index format 2024-08-31 17:12:43 +02:00
repository.go cache: remove redundant index file cleanup 2024-08-17 00:21:49 +05:30
testing.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
upgrade_repo_test.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00
upgrade_repo.go remove usages of repo.Backend() from tests 2024-05-18 21:42:51 +02:00