MCPcopy 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
50func (r *Repository) WorkTree() string {
51 return r.workTree
52}
53
54func (r *Repository) RunCommand(args ...string) ([]byte, error) {
55 cmd := exec.Command("git", args...)

Callers 1

TestNewRepositoryFunction · 0.95

Calls

no outgoing calls

Tested by 1

TestNewRepositoryFunction · 0.76