MCPcopy Index your code
hub / github.com/CodebuffAI/codebuff / sanitizeForPath

Function sanitizeForPath

agents/e2e/base-deep.e2e.test.ts:91–95  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

89 }
90
91 const sanitizeForPath = (value: string) =>
92 value
93 .toLowerCase()
94 .replace(/[^a-z0-9]+/g, '-')
95 .replace(/(^-|-$)/g, '')
96
97 const getToolCallNames = (events: PrintModeEvent[]) =>
98 events

Callers 1

writeTraceFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected