1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-15 01:34:26 +02:00

Export PatchLine.isChange

This commit is contained in:
Stefan Haller
2025-07-03 18:10:16 +02:00
parent 42bbe965fa
commit ef1a141347
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ type PatchLine struct {
Content string // something like '+ hello' (note the first character is not removed)
}
func (self *PatchLine) isChange() bool {
func (self *PatchLine) IsChange() bool {
return self.Kind == ADDITION || self.Kind == DELETION
}