MCPcopy Index your code
hub / github.com/codeaashu/claude-code / tallyInto

Function tallyInto

src/utils/exampleCommands.ts:105–110  ·  view source on GitHub ↗
(stdout: string)

Source from the content-addressed store, hash-verified

103
104 const counts = new Map<string, number>()
105 const tallyInto = (stdout: string) => {
106 for (const line of stdout.split('\n')) {
107 const f = line.trim()
108 if (f) counts.set(f, (counts.get(f) ?? 0) + 1)
109 }
110 }
111
112 if (userEmail) {
113 const { stdout } = await execFileNoThrowWithCwd(

Callers 1

Calls 2

getMethod · 0.65
setMethod · 0.45

Tested by

no test coverage detected