Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/codeaashu/claude-code
/ stripCR
Function
stripCR
src/utils/ripgrep.ts:312–312 ·
view source on GitHub ↗
(l: string)
Source
from the content-addressed store, hash-verified
310
})
311
312
const
stripCR = (l: string) => (l.endsWith(
'\r'
) ? l.slice(0, -1) : l)
313
let
remainder =
''
314
child.stdout?.on(
'data'
, (chunk: Buffer) => {
315
const
data = remainder + chunk.toString()
Callers
1
ripGrepStream
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected