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

Method Close

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

Source from the content-addressed store, hash-verified

490}
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 {

Callers 15

TestServeFileFunction · 0.45
TestFSRedirectFunction · 0.45
TestDirJoinFunction · 0.45
TestEmptyDirOpenCWDFunction · 0.45
TestServeFileContentTypeFunction · 0.45
TestServeFileMimeTypeFunction · 0.45
TestServeFileFromCWDFunction · 0.45
TestServeIndexHtmlFunction · 0.45
TestFileServerZeroByteFunction · 0.45
TestNotFoundOverrideFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected