MCPcopy
hub / github.com/openpubkey/opkssh / ReadFile

Method ReadFile

policy/files/filesystem.go:109–111  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

107}
108
109func (d *defaultFileSystem) ReadFile(path string) ([]byte, error) {
110 return afero.ReadFile(d.afs, path)
111}
112
113func (d *defaultFileSystem) MkdirAll(path string, perm fs.FileMode) error {
114 return d.ops.MkdirAllWithPerm(path, perm)

Callers

nothing calls this directly

Calls 1

ReadFileMethod · 0.65

Tested by

no test coverage detected