MCPcopy Create free account
hub / github.com/go-git/go-git / Remove

Method Remove

worktree.go:1124–1126  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

1122}
1123
1124func (b *indexBuilder) Remove(name string) {
1125 delete(b.entries, filepath.ToSlash(name))
1126}

Callers 15

resetIndexMethod · 0.45
addIndexFromTreeEntryMethod · 0.45
addIndexFromFileMethod · 0.45
doCleanMethod · 0.45
removeDirIfEmptyFunction · 0.45
TestStatusDeletedMethod · 0.45
TestAddRemovedMethod · 0.45

Calls

no outgoing calls