refactor: drop the archive manifest (#678)

Restore must read v1.1.0's manifest-less archives from the layout, and that path reads every new archive too,
so the manifest only described the layout a second time.
This commit is contained in:
Roger authored and GitHub committed 2026-11-02 11:11:55 +08:00
1 parent 3e9150249c
commit fce4f288df
17 files changed
+39 -266

No files matched your search

+1 -1
View File
@@ -53,7 +53,7 @@ func runRestore(ctx context.Context, stderr io.Writer, flags app.RestoreFlags) e
}
defer closeRestoreData(data)
discovery, keys, err := app.RestoreDiscovery(data, dump, options)
discovery, keys, err := app.RestoreDiscovery(data.Path(), dump, options)
if err != nil {
return err
}