MCPcopy
hub / github.com/jesseduffield/lazygit / Task

Interface Task

pkg/gocui/task.go:7–13  ·  view source on GitHub ↗

A task represents the fact that the program is busy doing something, which is useful for integration tests which only want to proceed when the program is idle.

Source from the content-addressed store, hash-verified

5// is idle.
6
7type Task interface {
8 Done()
9 Pause()
10 Continue()
11 // not exporting because we don't need to
12 isBusy() bool
13}
14
15type TaskImpl struct {
16 id int

Callers 15

OnWorkerMethod · 0.95
processEventMethod · 0.95
determineMainBranchesMethod · 0.65
GetCommitsMethod · 0.65
GetRemotesMethod · 0.65
GetWorktreesMethod · 0.65
PipeCommandsMethod · 0.65
showIntroPopupMessageMethod · 0.65
processOutputMethod · 0.65
PauseMethod · 0.65
PauseMethod · 0.65
processOutputMethod · 0.65

Implementers 2

TaskImplpkg/gocui/task.go
FakeTaskpkg/gocui/task.go

Calls

no outgoing calls

Tested by

no test coverage detected