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

Struct TestGitRepo

internal/testutil/testutil.go:56–65  ·  view source on GitHub ↗

TestGitRepo manages a local git repository for testing

Source from the content-addressed store, hash-verified

54
55// TestGitRepo manages a local git repository for testing
56type TestGitRepo struct {
57 // RepoDirectory is the temp directory of the git repo
58 RepoDirectory string
59
60 // DatasetDirectory is the directory of the testdata files
61 DatasetDirectory string
62
63 // RepoName is the name of the repository
64 RepoName string
65}
66
67var AssertNoError = assertnow.NilError
68

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected