MCPcopy Index your code
hub / github.com/Thunder-Compute/thunder-cli / ReadFile

Method ReadFile

internal/testutils/mocks.go:102–102  ·  view source on GitHub ↗
(filename string)

Source from the content-addressed store, hash-verified

100
101type FileSystem interface {
102 ReadFile(filename string) ([]byte, error)
103 WriteFile(filename string, data []byte, perm os.FileMode) error
104 MkdirAll(path string, perm os.FileMode) error
105 Stat(name string) (os.FileInfo, error)

Callers 15

AcquireInstanceLockFunction · 0.65
IsInstanceLockedFunction · 0.65
UpdateSSHConfigFunction · 0.65
newSSHConfigFunction · 0.65
UploadFileFunction · 0.65
readKnownHostsFunction · 0.65
createKnownHostsEntryFunction · 0.65
readCacheFunction · 0.65
readJSONCacheFunction · 0.65
verifyChecksumFunction · 0.65

Implementers 1

MockFileSysteminternal/testutils/mocks.go

Calls

no outgoing calls

Tested by 15

readKnownHostsFunction · 0.52
createKnownHostsEntryFunction · 0.52
TestLoginSuccessFunction · 0.52
TestSaveConfigFunction · 0.52
TestCleanupSSHConfigFunction · 0.52
TestRemoveSSHHostEntryFunction · 0.52