MCPcopy
hub / github.com/restic/restic / MockTerminal

Struct MockTerminal

internal/ui/mock.go:10–13  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8var _ Terminal = &MockTerminal{}
9
10type MockTerminal struct {
11 Output []string
12 Errors []string
13}
14
15func (m *MockTerminal) Print(line string) {
16 m.Output = append(m.Output, line)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected