MCPcopy Index your code
hub / github.com/jesseduffield/lazygit / removeFile

Method removeFile

pkg/commands/patch/patch_builder.go:100–103  ·  view source on GitHub ↗
(info *fileInfo)

Source from the content-addressed store, hash-verified

98}
99
100func (p *PatchBuilder) removeFile(info *fileInfo) {
101 info.mode = UNSELECTED
102 info.includedLineIndices = nil
103}
104
105func (p *PatchBuilder) AddFileWhole(filename string) error {
106 info, err := p.getFileInfo(filename)

Callers 2

RemoveFileMethod · 0.95
RemoveFileLineRangeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected