(ext: string)
| 18 | import { streamImport, incrementalImport } from '../import/stream-import' |
| 19 | |
| 20 | function getTempFilePath(ext: string): string { |
| 21 | const id = crypto.randomBytes(8).toString('hex') |
| 22 | return path.join(os.tmpdir(), `chatlab-pull-${id}${ext}`) |
| 23 | } |
| 24 | |
| 25 | // ==================== NodeFetcher ==================== |
| 26 |