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

Function getCounter

pkg/tasks/tasks_test.go:17–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15)
16
17func getCounter() (func(), func() int) {
18 counter := 0
19 return func() { counter++ }, func() int { return counter }
20}
21
22func TestNewCmdTaskInstantStop(t *testing.T) {
23 writer := bytes.NewBuffer(nil)

Callers 2

TestNewCmdTaskFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected