mirror of
https://github.com/restic/restic.git
synced 2026-08-13 17:13:24 +00:00
termstatus: add stdin and inject into backup command
This commit is contained in:
@@ -25,6 +25,14 @@ func (m *MockTerminal) CanUpdateStatus() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (m *MockTerminal) InputRaw() io.ReadCloser {
|
||||
return nil
|
||||
}
|
||||
|
||||
func (m *MockTerminal) InputIsTerminal() bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (m *MockTerminal) OutputRaw() io.Writer {
|
||||
return nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user