(file: File | string)
| 17 | } from './types' |
| 18 | |
| 19 | function resolveFilePath(file: File | string): string | null { |
| 20 | if (typeof file === 'string') return file |
| 21 | return (window as any).electron?.webUtils?.getPathForFile?.(file) ?? null |
| 22 | } |
| 23 | |
| 24 | export class ElectronImportAdapter implements ImportAdapter { |
| 25 | async importFile( |
no outgoing calls
no test coverage detected