stats: also print snapshot size statistics in debug mode (#5712)

This commit is contained in:
Michael Eischer
2026-02-18 21:21:40 +01:00
committed by GitHub
parent d1937a530b
commit 6566f786e9

View File

@@ -366,7 +366,7 @@ const (
func statsDebug(ctx context.Context, repo restic.Repository, printer progress.Printer) error {
printer.E("Collecting size statistics\n\n")
for _, t := range []restic.FileType{restic.KeyFile, restic.LockFile, restic.IndexFile, restic.PackFile} {
for _, t := range []restic.FileType{restic.KeyFile, restic.LockFile, restic.IndexFile, restic.SnapshotFile, restic.PackFile} {
hist, err := statsDebugFileType(ctx, repo, t)
if err != nil {
return err