MCPcopy
hub / github.com/cli/cli / WithRepoDir

Function WithRepoDir

git/command.go:107–111  ·  view source on GitHub ↗
(repoDir string)

Source from the content-addressed store, hash-verified

105}
106
107func WithRepoDir(repoDir string) CommandModifier {
108 return func(gc *Command) {
109 gc.setRepoDir(repoDir)
110 }
111}

Callers 4

TestClientFetchFunction · 0.85
TestClientPullFunction · 0.85
TestClientPushFunction · 0.85
TestClientCloneFunction · 0.85

Calls 1

setRepoDirMethod · 0.80

Tested by 4

TestClientFetchFunction · 0.68
TestClientPullFunction · 0.68
TestClientPushFunction · 0.68
TestClientCloneFunction · 0.68