Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/jesseduffield/lazygit
/ IsAddition
Method
IsAddition
pkg/commands/patch/patch_line.go:25–27 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
23
}
24
25
func
(self *PatchLine) IsAddition() bool {
26
return
self.Kind == ADDITION
27
}
28
29
func
(self *PatchLine) IsDeletion() bool {
30
return
self.Kind == DELETION
Callers
1
NewState
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected