1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-09-16 09:16:26 +02:00

Replace IsCurrentContext() with Context().IsCurrent()

This commit is contained in:
Stefan Haller
2024-08-08 10:37:05 +02:00
parent f30387e7f5
commit 94d6f4dae7
4 changed files with 2 additions and 8 deletions

View File

@@ -57,8 +57,6 @@ type IGuiCommon interface {
RunSubprocess(cmdObj oscommands.ICmdObj) (bool, error)
RunSubprocessAndRefresh(oscommands.ICmdObj) error
IsCurrentContext(Context) bool
// TODO: replace the above context-based methods with just using Context() e.g. replace PushContext() with Context().Push()
Context() IContextMgr
ContextForKey(key ContextKey) Context