MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / stripLineNumberPrefix

Function stripLineNumberPrefix

source code/utils/file.ts:327–330  ·  view source on GitHub ↗
(line: string)

Source from the content-addressed store, hash-verified

325 * line. Co-located so format changes here and in addLineNumbers stay in sync.
326 */
327export function stripLineNumberPrefix(line: string): string {
328 const match = line.match(/^\s*\d+[\u2192\t](.*)$/)
329 return match?.[1] ?? line
330}
331
332/**
333 * Checks if a directory is empty.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected