mirror of
https://github.com/restic/restic.git
synced 2026-10-14 05:57:12 +00:00
1 parent
49fa8fe6dd
commit
9412f37e50
4 files changed
+68
-8
No files matched your search
@@ -86,6 +86,8 @@ func (b *TextProgress) Error(item string, err error) error {
|
||||
// CompleteItem is the status callback function for the archiver when a
|
||||
// file/dir has been saved successfully.
|
||||
func (b *TextProgress) CompleteItem(messageType, item string, previous, current *restic.Node, s archiver.ItemStats, d time.Duration) {
|
||||
item = termstatus.Quote(item)
|
||||
|
||||
switch messageType {
|
||||
case "dir new":
|
||||
b.VV("new %v, saved in %.3fs (%v added, %v stored, %v metadata)",
|
||||
|
||||
Reference in new issue
Block a user