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

Function Tag

internal/testutil/testutil.go:418–422  ·  view source on GitHub ↗
(t *testing.T, g *TestGitRepo, tag string)

Source from the content-addressed store, hash-verified

416}
417
418func Tag(t *testing.T, g *TestGitRepo, tag string) {
419 if !assert.NoError(t, g.Tag(tag)) {
420 t.FailNow()
421 }
422}
423
424func CopyKptfile(t *testing.T, src, dest string) {
425 b, err := ioutil.ReadFile(filepath.Join(src, kptfile.KptFileName))

Callers 2

TestKptGetSetFunction · 0.92
CommitTagFunction · 0.85

Calls 1

TagMethod · 0.65

Tested by 1

TestKptGetSetFunction · 0.74