(filePath: string)
| 20 | * Silently ignores errors (best-effort cleanup). |
| 21 | */ |
| 22 | export async function cleanupTempFile(filePath: string): Promise<void> { |
| 23 | try { |
| 24 | await fs.unlink(filePath) |
| 25 | await fs.rmdir(dirname(filePath)) |
| 26 | } catch { |
| 27 | // Ignore cleanup errors |
| 28 | } |
| 29 | } |
| 30 | |
| 31 | export interface SplitWithSiblingInitFixture { |
| 32 | /** Absolute path to the split "main" .deepnote file (the one analysis commands receive). */ |
no outgoing calls
no test coverage detected