MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / normLine

Function normLine

src/tools/filesystem/fuzzy-match.ts:51–53  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

49}
50
51function normLine(s: string): string {
52 return s.replace(/\r$/, '').trim();
53}
54
55function tokens(s: string): string[] {
56 return normLine(s).split(/\s+/).filter(Boolean);

Callers 2

tokensFunction · 0.85
findMatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected