mirror of
https://github.com/restic/restic.git
synced 2026-11-20 04:26:54 +00:00
termstatus: add stdin and inject into backup command
This commit is contained in:
1 parent
ca5b0c0249
commit
96af35555a
14 files changed
+73
-41
No files matched your search
@@ -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