MCPcopy
hub / github.com/larksuite/cli / ReadFile

Function ReadFile

internal/vfs/default.go:21–21  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

19func Getwd() (string, error) { return DefaultFS.Getwd() }
20func UserHomeDir() (string, error) { return DefaultFS.UserHomeDir() }
21func ReadFile(name string) ([]byte, error) { return DefaultFS.ReadFile(name) }
22func WriteFile(name string, data []byte, perm fs.FileMode) error {
23 return DefaultFS.WriteFile(name, data, perm)
24}

Callers 15

loadCacheMetaFunction · 0.92
loadCachedMergedFunction · 0.92
LoadConfigFunction · 0.92
ReadStateFunction · 0.92
LoadFunction · 0.92
applyExtraRootCAFunction · 0.92
LoadYAMLPolicyFunction · 0.92
ResolveSecretInputFunction · 0.92
LoadMultiAppConfigFunction · 0.92
resolveFileRefFunction · 0.92
ReadOpenClawConfigFunction · 0.92
ReadLarkChannelConfigFunction · 0.92

Calls 1

ReadFileMethod · 0.65