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

Method WriteAt

reader_internal_test.go:167–171  ·  view source on GitHub ↗
(p []byte, off int64)

Source from the content-addressed store, hash-verified

165}
166
167func (m *mockFile) WriteAt(p []byte, off int64) (int, error) {
168 args := m.Called(p, off)
169
170 return args.Int(0), args.Error(1)
171}
172
173func newMockFile(tb testing.TB) *mockFile {
174 tb.Helper()

Callers

nothing calls this directly

Calls 1

ErrorMethod · 0.80

Tested by

no test coverage detected