restore: embed progress.Printer in restore-specific printer

This commit is contained in:
Michael Eischer
2025-09-14 19:51:08 +02:00
parent 1a76f988ea
commit 1939cff334
6 changed files with 29 additions and 21 deletions

View File

@@ -999,6 +999,7 @@ func TestRestorerSparseOverwrite(t *testing.T) {
type printerMock struct {
s restoreui.State
progress.NoopPrinter
}
func (p *printerMock) Update(_ restoreui.State, _ time.Duration) {