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

Method Stat

reader_internal_test.go:109–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107}
108
109func (m *mockFile) Stat() (os.FileInfo, error) {
110 args := m.Called()
111
112 info, ok := args.Get(0).(os.FileInfo)
113 if info != nil && !ok {
114 panic(errAssertion)
115 }
116
117 return info, args.Error(1)
118}
119
120func (m *mockFile) Sync() error {
121 return m.Called().Error(0)

Callers

nothing calls this directly

Calls 2

ErrorMethod · 0.80
GetMethod · 0.65

Tested by

no test coverage detected