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

Function safeFilePart

scripts/export-deepseek-session-traces.ts:206–208  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

204}
205
206function safeFilePart(value: string): string {
207 return value.replace(/[^a-zA-Z0-9._-]+/g, '-')
208}
209
210function hasSameAssistantText(messages: ChatMessage[], response: string) {
211 const last = messages.at(-1)

Callers 1

writeTraceFilesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected