MCPcopy
hub / github.com/cortesi/devd / Stat

Method Stat

fileserver/fileserver_test.go:493–493  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

491
492func (f *fakeFile) Close() error { return nil }
493func (f *fakeFile) Stat() (os.FileInfo, error) { return f.fi, nil }
494func (f *fakeFile) Readdir(count int) ([]os.FileInfo, error) {
495 if !f.fi.dir {
496 return nil, os.ErrInvalid

Callers 6

mainFunction · 0.80
TestDirJoinFunction · 0.80
mustStatFunction · 0.80
notFoundMethod · 0.80
serveNotFoundFileMethod · 0.80
serveFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected