1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

Cleanup: remove unused interfaces for helpers

I can only guess here: maybe they were added to more clearly document the public
interface of the classes? If so, I don't think that works. Developers who are
not familiar with the convention will just add a new public method to the class
without updating the interface.
This commit is contained in:
Stefan Haller
2024-10-11 16:53:27 +02:00
parent b3215a750c
commit 8ba57b6bd0
9 changed files with 0 additions and 65 deletions

View File

@ -12,10 +12,6 @@ import (
"github.com/samber/lo"
)
type ICommitsHelper interface {
UpdateCommitPanelView(message string)
}
type CommitsHelper struct {
c *HelperCommon
@ -26,8 +22,6 @@ type CommitsHelper struct {
setCommitDescription func(string)
}
var _ ICommitsHelper = &CommitsHelper{}
func NewCommitsHelper(
c *HelperCommon,
getCommitSummary func() string,