mirror of
https://github.com/restic/restic.git
synced 2025-12-11 18:47:50 +00:00
restore: embed progress.Printer in restore-specific printer
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
|
||||
"github.com/restic/restic/internal/errors"
|
||||
"github.com/restic/restic/internal/test"
|
||||
"github.com/restic/restic/internal/ui/progress"
|
||||
)
|
||||
|
||||
type printerTraceEntry struct {
|
||||
@@ -36,6 +37,7 @@ type mockPrinter struct {
|
||||
trace printerTrace
|
||||
items itemTrace
|
||||
errors errorTrace
|
||||
progress.NoopPrinter
|
||||
}
|
||||
|
||||
const mockFinishDuration = 42 * time.Second
|
||||
|
||||
Reference in New Issue
Block a user