MCPcopy Index your code
hub / github.com/abiosoft/colima / ReadString

Function ReadString

embedded/embed.go:19–22  ·  view source on GitHub ↗

ReadString reads the content of file as string

(file string)

Source from the content-addressed store, hash-verified

17
18// ReadString reads the content of file as string
19func ReadString(file string) (string, error) {
20 b, err := read(file)
21 return string(b), err
22}

Callers 4

editConfigFileFunction · 0.92
template.goFile · 0.92
templateFileOrDefaultFunction · 0.92
InstallSudoersFunction · 0.85

Calls 1

readFunction · 0.85

Tested by

no test coverage detected