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

Method IsDir

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

Source from the content-addressed store, hash-verified

475func (f *fakeFileInfo) Sys() interface{} { return nil }
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 {

Callers 5

fileTypeFunction · 0.80
MakeTemplatesFunction · 0.80
LessMethod · 0.80
serveNotFoundFileMethod · 0.80
serveFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected