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

Method ModTime

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

Source from the content-addressed store, hash-verified

474func (f *fakeFileInfo) Name() string { return f.basename }
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 {

Callers 4

TestServeContentFunction · 0.80
notFoundMethod · 0.80
serveNotFoundFileMethod · 0.80
serveFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected