(filePath: string | null | undefined)
| 1436 | } |
| 1437 | |
| 1438 | export async function removeTemporaryExportFile(filePath: string | null | undefined) { |
| 1439 | if (!filePath) { |
| 1440 | return; |
| 1441 | } |
| 1442 | |
| 1443 | try { |
| 1444 | await fs.rm(filePath, { force: true }); |
| 1445 | } catch { |
| 1446 | // Ignore cleanup failures for temp export artifacts. |
| 1447 | } |
| 1448 | } |
| 1449 | |
| 1450 | export function getNativeVideoExportSessionError( |
| 1451 | session: NativeVideoExportSession, |
no outgoing calls
no test coverage detected