mirror of
https://github.com/restic/restic.git
synced 2025-12-04 03:38:25 +00:00
Finalize repacker
This commit is contained in:
@@ -439,7 +439,12 @@ func (idx *Index) Dump(w io.Writer) error {
|
||||
return err
|
||||
}
|
||||
|
||||
buf, err := json.MarshalIndent(list, "", " ")
|
||||
outer := jsonIndex{
|
||||
Supersedes: idx.Supersedes(),
|
||||
Packs: list,
|
||||
}
|
||||
|
||||
buf, err := json.MarshalIndent(outer, "", " ")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user