MCPcopy Index your code
hub / github.com/PatrickSys/codebase-context / normalizeText

Function normalizeText

src/eval/discovery-harness.ts:27–29  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

25type JsonRecord = Record<string, unknown>;
26
27function normalizeText(value: string): string {
28 return value.toLowerCase().replace(/\\/g, '/');
29}
30
31function parseJsonPayload(payload: string): JsonRecord {
32 const parsed = JSON.parse(payload) as unknown;

Callers 3

matchPatternsFunction · 0.70
matchSignalsFunction · 0.70
evaluateDiscoveryTaskFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected