Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
107
func
WithRepoDir(repoDir string) CommandModifier {
108
return
func
(gc *Command) {
109
gc.setRepoDir(repoDir)
110
}
111
}
Callers
4
TestClientFetch
Function · 0.85
TestClientPull
Function · 0.85
TestClientPush
Function · 0.85
TestClientClone
Function · 0.85
Calls
1
setRepoDir
Method · 0.80
Tested by
4
TestClientFetch
Function · 0.68
TestClientPull
Function · 0.68
TestClientPush
Function · 0.68
TestClientClone
Function · 0.68