MCPcopy
hub / github.com/dagger/container-use / WorktreePath

Method WorktreePath

repository/git.go:85–87  ·  view source on GitHub ↗
(id string)

Source from the content-addressed store, hash-verified

83}
84
85func (r *Repository) WorktreePath(id string) (string, error) {
86 return homedir.Expand(filepath.Join(r.getWorktreePath(), id))
87}
88
89func (r *Repository) deleteWorktree(id string) error {
90 worktreePath, err := r.WorktreePath(id)

Callers 8

ListMethod · 0.95
deleteWorktreeMethod · 0.95
initializeWorktreeMethod · 0.95
getWorktreeMethod · 0.95
propagateToWorktreeMethod · 0.95
exportEnvironmentMethod · 0.95
saveStateMethod · 0.95
addGitNoteMethod · 0.95

Calls 1

getWorktreePathMethod · 0.95

Tested by

no test coverage detected