mirror of
https://github.com/restic/restic.git
synced 2026-02-03 12:29:37 -05:00
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. |
||
|---|---|---|
| .. | ||
| associated_data.go | ||
| associated_data_test.go | ||
| index.go | ||
| index_parallel.go | ||
| index_parallel_test.go | ||
| index_test.go | ||
| indexmap.go | ||
| indexmap_test.go | ||
| master_index.go | ||
| master_index_test.go | ||
| testing.go | ||