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

Method Glob

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

Source from the content-addressed store, hash-verified

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) }
22func (OsFS) ReadFile(name string) ([]byte, error) { return os.ReadFile(name) }
23

Callers 2

selectFileMethod · 0.80
doImportMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected