MCPcopy Index your code
hub / github.com/cortesi/devd / Size

Method Size

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

Source from the content-addressed store, hash-verified

476func (f *fakeFileInfo) ModTime() time.Time { return f.modtime }
477func (f *fakeFileInfo) IsDir() bool { return f.dir }
478func (f *fakeFileInfo) Size() int64 { return int64(len(f.contents)) }
479func (f *fakeFileInfo) Mode() os.FileMode {
480 if f.dir {
481 return 0755 | os.ModeDir

Callers 2

serveNotFoundFileMethod · 0.80
serveFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected