MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / collapseWs

Function collapseWs

src/extraction/languages/erlang.ts:31–33  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

29}
30
31function collapseWs(text: string): string {
32 return text.replace(/\s+/g, ' ').trim();
33}
34
35// --- Per-file memos. Extraction is file-sequential within a worker, so a
36// single-entry memo keyed by filePath is safe (and resets naturally). ---

Callers 6

clauseHeaderFunction · 0.85
handleFunDeclFunction · 0.85
handleRecordDeclFunction · 0.85
handleTypeAliasFunction · 0.85
handlePpDefineFunction · 0.85
erlang.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected