MCPcopy Create free account
hub / github.com/buildpacks/pack / readFileString

Function readFileString

internal/container/runtime.go:93–96  ·  view source on GitHub ↗
(file string)

Source from the content-addressed store, hash-verified

91}
92
93func readFileString(file string) string {
94 b, _ := os.ReadFile(file)
95 return strings.TrimSpace(string(b))
96}

Callers 1

RunningInContainerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected