MCPcopy Create free account
hub / github.com/anomalyco/opencode / countLabel

Function countLabel

packages/opencode/src/cli/cmd/run/footer.command.tsx:91–97  ·  view source on GitHub ↗
(count: number, total: number, query: string)

Source from the content-addressed store, hash-verified

89}
90
91function countLabel(count: number, total: number, query: string) {
92 if (!query.trim()) {
93 return `${total}`
94 }
95
96 return `${count}/${total}`
97}
98
99function categoryRank(category: string) {
100 if (category === "Project Commands") {

Callers 1

PanelShellFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected