1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-22 15:57:07 +00:00
restic/internal/repository/index
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
..
associated_data.go
associated_data_test.go
index.go index: remove support for legacy index format 2024-08-31 17:12:43 +02:00
index_parallel.go index: remove support for legacy index format 2024-08-31 17:12:43 +02:00
index_parallel_test.go index: remove support for legacy index format 2024-08-31 17:12:43 +02:00
index_test.go index: remove support for legacy index format 2024-08-31 17:12:43 +02:00
indexmap.go
indexmap_test.go
master_index.go internal/restic: Use IDSet.Clone + use maps package 2024-10-03 21:14:29 +02:00
master_index_test.go
testing.go