MCPcopy Index your code
hub / github.com/go-git/go-git / Remove

Method Remove

worktree.go:1097–1099  ·  view source on GitHub ↗
(name string)

Source from the content-addressed store, hash-verified

1095}
1096
1097func (b *indexBuilder) Remove(name string) {
1098 delete(b.entries, filepath.ToSlash(name))
1099}
1100
1101// buildFilePathMap creates a map of cleaned file paths for efficient lookup.
1102// Returns nil if the input slice is empty.

Callers 15

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

Calls

no outgoing calls