backup - show excluded files and directories in verbose mode - text/JSON (#21887)

This commit is contained in:
Winfried Plappert
2026-06-21 17:11:42 +01:00
committed by GitHub
parent 8d7679c831
commit d30d6b6281
9 changed files with 97 additions and 1 deletions
+5
View File
@@ -19,6 +19,7 @@ type ProgressPrinter interface {
ReportTotal(start time.Time, s archiver.ScanStats)
Finish(snapshotID restic.ID, summary *archiver.Summary, dryRun bool)
Reset()
ExcludedItem(path string)
restic.Printer
}
@@ -162,3 +163,7 @@ func (p *Progress) Finish(snapshotID restic.ID, summary *archiver.Summary, dryru
p.Updater.Done()
p.printer.Finish(snapshotID, summary, dryrun)
}
func (p *Progress) ExcludedItem(path string) {
p.printer.ExcludedItem(path)
}