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

Method Readdirnames

reader_internal_test.go:98–107  ·  view source on GitHub ↗
(n int)

Source from the content-addressed store, hash-verified

96}
97
98func (m *mockFile) Readdirnames(n int) ([]string, error) {
99 args := m.Called(n)
100
101 names, ok := args.Get(0).([]string)
102 if names != nil && !ok {
103 panic(errAssertion)
104 }
105
106 return names, args.Error(1)
107}
108
109func (m *mockFile) Stat() (os.FileInfo, error) {
110 args := m.Called()

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.80
GetMethod · 0.65

Tested by

no test coverage detected