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

Function newMockFs

reader_internal_test.go:268–277  ·  view source on GitHub ↗
(tb testing.TB)

Source from the content-addressed store, hash-verified

266}
267
268func newMockFs(tb testing.TB) *mockFs {
269 tb.Helper()
270
271 mock := new(mockFs)
272 mock.Test(tb)
273
274 tb.Cleanup(func() { mock.AssertExpectations(tb) })
275
276 return mock
277}
278
279var (
280 _ os.FileInfo = new(mockFileInfo)

Callers 1

TestOpenReaderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…