Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cwarden/git-add--interactive
/ WorkTree
Method
WorkTree
internal/git/repository.go:50–52 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
48
}
49
50
func
(r *Repository) WorkTree() string {
51
return
r.workTree
52
}
53
54
func
(r *Repository) RunCommand(args ...string) ([]byte, error) {
55
cmd := exec.Command(
"git"
, args...)
Callers
1
TestNewRepository
Function · 0.95
Calls
no outgoing calls
Tested by
1
TestNewRepository
Function · 0.76