mirror of
https://github.com/restic/restic.git
synced 2026-10-11 20:47:12 +00:00
ui: assert that ProgressPrinter interface is implemented
This commit is contained in:
1 parent
a144c986f2
commit
cccb0d4064
2 files changed
+6
No files matched your search
@@ -22,6 +22,9 @@ type Backup struct {
|
||||
v uint
|
||||
}
|
||||
|
||||
// assert that Backup implements the ProgressPrinter interface
|
||||
var _ ui.ProgressPrinter = &Backup{}
|
||||
|
||||
// NewBackup returns a new backup progress reporter.
|
||||
func NewBackup(term *termstatus.Terminal, verbosity uint) *Backup {
|
||||
return &Backup{
|
||||
|
||||
Reference in new issue
Block a user