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

Function NewLocalGitRunner

internal/gitutil/gitutil.go:101–103  ·  view source on GitHub ↗

NewLocalGitRunner returns a new GitRunner for a local package.

(pkg string)

Source from the content-addressed store, hash-verified

99
100// NewLocalGitRunner returns a new GitRunner for a local package.
101func NewLocalGitRunner(pkg string) *GitRunner {
102 return &GitRunner{Dir: pkg}
103}
104
105// GitRunner runs git commands in a git repo.
106type GitRunner struct {

Callers 9

TestFixSettersV1Function · 0.92
preRunEMethod · 0.92
InitMethod · 0.92
SetLocalDataMethod · 0.92
TestCmd_executeFunction · 0.92
RunMethod · 0.92
patchLocalPackageMethod · 0.92

Calls

no outgoing calls

Tested by 3

TestFixSettersV1Function · 0.74
TestCmd_executeFunction · 0.74