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

Function addToken

src/utils/bash/commands.ts:1190–1193  ·  view source on GitHub ↗
(result: string, token: string, noSpace = false)

Source from the content-addressed store, hash-verified

1188
1189// Helper: Add token with appropriate spacing
1190function addToken(result: string, token: string, noSpace = false): string {
1191 if (!result || noSpace) return result + token
1192 return result + ' ' + token
1193}
1194
1195function reconstructCommand(kept: ParseEntry[], originalCmd: string): string {
1196 if (!kept.length) return originalCmd

Callers 1

reconstructCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected