MCPcopy Create free account
hub / github.com/codehamr/codehamr / countCmdLeaves

Function countCmdLeaves

internal/tui/resize_test.go:218–239  ·  view source on GitHub ↗

countCmdLeaves runs cmd, recurses into the slice-shaped []tea.Cmd payload of tea.BatchMsg / tea.sequenceMsg (both unexported), and counts leaves where match holds, asserting what a Sequence emits without importing bubbletea's internal types.

(cmd tea.Cmd, match func(tea.Cmd, tea.Msg) bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

cmdYieldsClearScreenFunction · 0.85
cmdYieldsScrollbackEraseFunction · 0.85
countPrintlnLeavesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected