mirror of
https://github.com/restic/restic.git
synced 2026-07-02 21:44:17 +00:00
backup - show excluded files and directories in verbose mode - text/JSON (#21887)
This commit is contained in:
committed by
GitHub
parent
8d7679c831
commit
d30d6b6281
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user