MCPcopy Create free account
hub / github.com/bodgit/sevenzip / Read

Method Read

reader_internal_test.go:138–142  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

136}
137
138func (m *mockFile) Read(p []byte) (int, error) {
139 args := m.Called(p)
140
141 return args.Int(0), args.Error(1)
142}
143
144func (m *mockFile) ReadAt(p []byte, off int64) (int, error) {
145 args := m.Called(p, off)

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.80

Tested by

no test coverage detected