MCPcopy
hub / github.com/spacecloud-io/space-cloud / ReadFile

Method ReadFile

space-cli/cmd/utils/file/file.go:11–11  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

9
10type file interface {
11 ReadFile(filename string) ([]byte, error)
12 WriteFile(filename string, data []byte, perm os.FileMode) error
13 Stat(name string) (os.FileInfo, error)
14 IsNotExist(err error) bool

Callers 5

StoreCredentialsFunction · 0.65
GetCredentialsFunction · 0.65
ReadSpecObjectsFromFileFunction · 0.65
ExtractValuesObjFunction · 0.65
ReadFileMethod · 0.65

Implementers 2

defspace-cli/cmd/utils/file/file.go
Mocketspace-cli/cmd/utils/file/fileTest.go

Calls

no outgoing calls

Tested by

no test coverage detected