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

Method Readdir

reader_internal_test.go:87–96  ·  view source on GitHub ↗
(count int)

Source from the content-addressed store, hash-verified

85}
86
87func (m *mockFile) Readdir(count int) ([]os.FileInfo, error) {
88 args := m.Called(count)
89
90 infos, ok := args.Get(0).([]os.FileInfo)
91 if infos != nil && !ok {
92 panic(errAssertion)
93 }
94
95 return infos, args.Error(1)
96}
97
98func (m *mockFile) Readdirnames(n int) ([]string, error) {
99 args := m.Called(n)

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.80
GetMethod · 0.65

Tested by

no test coverage detected