MCPcopy
hub / github.com/caddyserver/caddy / Open

Method Open

internal/filesystems/os.go:18–18  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

16type OsFS struct{}
17
18func (OsFS) Open(name string) (fs.File, error) { return os.Open(name) }
19func (OsFS) Stat(name string) (fs.FileInfo, error) { return os.Stat(name) }
20func (OsFS) Glob(pattern string) ([]string, error) { return filepath.Glob(pattern) }
21func (OsFS) ReadDir(name string) ([]fs.DirEntry, error) { return os.ReadDir(name) }

Callers 11

readFileIntoBufferFunction · 0.80
readFileToBufferMethod · 0.80
funcListFilesMethod · 0.80
funcFileExistsMethod · 0.80
funcFileStatMethod · 0.80
ServeHTTPMethod · 0.80
PostFileMethod · 0.80
openFileMethod · 0.80
cmdImportStorageFunction · 0.80
loadEnvFromFileFunction · 0.80
doSingleImportMethod · 0.80

Calls

no outgoing calls

Tested by 1

ServeHTTPMethod · 0.64