1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-23 00:07:25 +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 index: move to repository package 2024-05-25 13:13:03 +02:00
associated_data_test.go Fix typos 2024-07-03 20:02:06 +02:00
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 index: move to repository package 2024-05-25 13:13:03 +02:00
indexmap_test.go Fix typos 2024-07-03 20:02:06 +02:00
master_index.go internal/restic: Use IDSet.Clone + use maps package 2024-10-03 21:14:29 +02:00
master_index_test.go index: move to repository package 2024-05-25 13:13:03 +02:00
testing.go index: move to repository package 2024-05-25 13:13:03 +02:00