mirror of
https://github.com/restic/restic.git
synced 2024-12-22 07:43:03 +00:00
b5c28a7ba2
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. |
||
---|---|---|
.. | ||
hashing | ||
index | ||
pack | ||
testdata | ||
check.go | ||
doc.go | ||
fuzz_test.go | ||
key.go | ||
lock.go | ||
lock_test.go | ||
packer_manager.go | ||
packer_manager_test.go | ||
packer_uploader.go | ||
prune.go | ||
prune_test.go | ||
raw.go | ||
raw_test.go | ||
repack.go | ||
repack_test.go | ||
repair_index.go | ||
repair_index_test.go | ||
repair_pack.go | ||
repair_pack_test.go | ||
repository.go | ||
repository_internal_test.go | ||
repository_test.go | ||
testing.go | ||
upgrade_repo.go | ||
upgrade_repo_test.go |