From 9d202cf9eaf334633021f9c4a4f9be04b8436c9d Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Tue, 15 Apr 2025 10:33:14 +0200 Subject: [PATCH] Remove unused function --- pkg/gui/presentation/graph/graph.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkg/gui/presentation/graph/graph.go b/pkg/gui/presentation/graph/graph.go index 441c91301..ae4401a13 100644 --- a/pkg/gui/presentation/graph/graph.go +++ b/pkg/gui/presentation/graph/graph.go @@ -33,15 +33,6 @@ type Pipe struct { 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 { return min(self.fromPos, self.toPos) }