MCPcopy Create free account
hub / github.com/devld/go-drive / fakeHTTPFile

Struct fakeHTTPFile

server/web_files_test.go:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22func (f *fakeFileInfo) Sys() any { return nil }
23
24type fakeHTTPFile struct {
25 *bytes.Reader
26 name string
27 modTime time.Time
28}
29
30func newFakeHTTPFile(name, content string, modTime time.Time) *fakeHTTPFile {
31 return &fakeHTTPFile{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected