MCPcopy Create free account
hub / github.com/anchordotdev/cli / osFS

Struct osFS

config.go:330–330  ·  view source on GitHub ↗

https://github.com/golang/go/issues/47803

Source from the content-addressed store, hash-verified

328
329// https://github.com/golang/go/issues/47803
330type osFS struct{}
331
332func (osFS) Open(name string) (fs.File, error) { return os.Open(name) }
333func (osFS) ReadDir(name string) ([]fs.DirEntry, error) { return os.ReadDir(name) }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected