MCPcopy Index your code
hub / github.com/anchordotdev/cli / Open

Method Open

config.go:332–332  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

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) }
334func (osFS) Stat(name string) (fs.FileInfo, error) { return os.Stat(name) }
335func (osFS) WriteFile(name string, data []byte, perm os.FileMode) error {

Callers

nothing calls this directly

Calls 1

OpenMethod · 0.65

Tested by

no test coverage detected