mirror of
https://github.com/restic/restic.git
synced 2026-09-23 04:20:30 +00:00
repository: move Blob, Blobs and PackedBlob to pack package
This removes them from the public interface. The latter now only provides the PackBlob interface, without being bound to the type used internally by the pack package.
This commit is contained in:
@@ -422,7 +422,7 @@ func testRepositoryIncrementalIndex(t *testing.T, version uint) {
|
||||
rtest.OK(t, err)
|
||||
|
||||
for pb := range idx.Values() {
|
||||
packID := pb.PackID
|
||||
packID := pb.PackID()
|
||||
if _, ok := packEntries[packID]; !ok {
|
||||
packEntries[packID] = make(map[restic.ID]struct{})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user