Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jesseduffield/lazygit
/ IsChange
Method
IsChange
pkg/commands/patch/patch_line.go:21–23 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
19
}
20
21
func
(self *PatchLine) IsChange() bool {
22
return
self.Kind == ADDITION || self.Kind == DELETION
23
}
24
25
func
(self *PatchLine) IsAddition() bool {
26
return
self.Kind == ADDITION
Callers
6
GetNextChangeIdxOfSameIncludedState
Method · 0.80
format
Method · 0.80
SelectPreviousHunk
Method · 0.80
SelectNextHunk
Method · 0.80
selectionRangeForCurrentBlockOfChanges
Method · 0.80
LineIndicesOfAddedOrDeletedLinesInSelectedPatchRange
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected