MCPcopy
hub / github.com/kptdev/kpt / toAbsPath

Function toAbsPath

internal/util/update/update_test.go:893–899  ·  view source on GitHub ↗
(t *testing.T, path string)

Source from the content-addressed store, hash-verified

891}
892
893func toAbsPath(t *testing.T, path string) string {
894 cwd, err := os.Getwd()
895 if !assert.NoError(t, err) {
896 t.FailNow()
897 }
898 return filepath.Join(cwd, path)
899}
900
901type nonKRMTestCase struct {
902 name string

Calls

no outgoing calls

Tested by

no test coverage detected