MCPcopy
hub / github.com/codeaashu/claude-code / safeFilenameId

Function safeFilenameId

src/bridge/sessionRunner.ts:24–26  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

22 * or other filesystem issues, replacing them with underscores.
23 */
24export function safeFilenameId(id: string): string {
25 return id.replace(/[^a-zA-Z0-9_-]/g, '_')
26}
27
28/**
29 * A control_request emitted by the child CLI when it needs permission to

Callers 2

spawnFunction · 0.85
runBridgeLoopFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected