mirror of
https://github.com/restic/restic.git
synced 2025-07-30 09:33:37 +00:00
Index: Store pack ID
This commit is contained in:
parent
4f780a01f9
commit
5e3365d233
@ -169,7 +169,7 @@ func (idx *Index) AddPack(id restic.ID, size int64, entries []restic.Blob) error
|
|||||||
return errors.Errorf("pack %v already present in the index", id.Str())
|
return errors.Errorf("pack %v already present in the index", id.Str())
|
||||||
}
|
}
|
||||||
|
|
||||||
idx.Packs[id] = Pack{Size: size, Entries: entries}
|
idx.Packs[id] = Pack{ID: id, Size: size, Entries: entries}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user