mirror of
https://github.com/restic/restic.git
synced 2026-11-09 08:31:44 +00:00
stats: also print snapshot size statistics in debug mode (#5712)
This commit is contained in:
1 parent
d1937a530b
commit
6566f786e9
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user