MCPcopy Index your code
hub / github.com/codeaashu/claude-code / safeRemoveOverlay

Function safeRemoveOverlay

src/services/PromptSuggestion/speculation.ts:72–78  ·  view source on GitHub ↗
(overlayPath: string)

Source from the content-addressed store, hash-verified

70])
71
72function safeRemoveOverlay(overlayPath: string): void {
73 rm(
74 overlayPath,
75 { recursive: true, force: true, maxRetries: 3, retryDelay: 100 },
76 () => {},
77 )
78}
79
80function getOverlayPath(id: string): string {
81 return join(getClaudeTempDir(), 'speculation', String(process.pid), id)

Callers 4

startSpeculationFunction · 0.85
acceptSpeculationFunction · 0.85
abortSpeculationFunction · 0.85
handleSpeculationAcceptFunction · 0.85

Calls 1

rmFunction · 0.90

Tested by

no test coverage detected