MCPcopy
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
21func (self *PatchLine) IsChange() bool {
22 return self.Kind == ADDITION || self.Kind == DELETION
23}
24
25func (self *PatchLine) IsAddition() bool {
26 return self.Kind == ADDITION

Calls

no outgoing calls

Tested by

no test coverage detected