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

Method ConfigFileContents

acceptance/invoke/pack.go:320–327  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

318}
319
320func (i *PackInvoker) ConfigFileContents() string {
321 i.testObject.Helper()
322
323 contents, err := os.ReadFile(filepath.Join(i.home, "config.toml"))
324 i.assert.Nil(err)
325
326 return string(contents)
327}
328
329func (i *PackInvoker) FixtureManager() PackFixtureManager {
330 return i.fixtureManager

Callers 1

Calls 1

NilMethod · 0.80

Tested by 1