mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Remove unused function
This commit is contained in:
@ -33,15 +33,6 @@ type Pipe struct {
|
|||||||
|
|
||||||
var highlightStyle = style.FgLightWhite.SetBold()
|
var highlightStyle = style.FgLightWhite.SetBold()
|
||||||
|
|
||||||
func ContainsCommitHash(pipes []*Pipe, hash string) bool {
|
|
||||||
for _, pipe := range pipes {
|
|
||||||
if equalHashes(pipe.fromHash, hash) {
|
|
||||||
return true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
func (self Pipe) left() int {
|
func (self Pipe) left() int {
|
||||||
return min(self.fromPos, self.toPos)
|
return min(self.fromPos, self.toPos)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user