mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
Remove unused function
This commit is contained in:
parent
4cfa6e0c98
commit
9d202cf9ea
1 changed files with 0 additions and 9 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue