MCPcopy Create free account
hub / github.com/ChatLab/ChatLab / cleanupTempFile

Function cleanupTempFile

apps/desktop/main/api/adapters.ts:71–77  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

69}
70
71function cleanupTempFile(filePath: string): void {
72 try {
73 if (fs.existsSync(filePath)) fs.unlinkSync(filePath)
74 } catch {
75 /* ignore */
76 }
77}
78
79// ==================== WorkerImporter ====================
80

Callers 1

fetchToTempFileMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected