( filePath: string, onProgress?: (progress: ParseProgress) => void )
| 495 | * 返回基本信息和临时数据库路径 |
| 496 | */ |
| 497 | export async function streamParseFileInfo( |
| 498 | filePath: string, |
| 499 | onProgress?: (progress: ParseProgress) => void |
| 500 | ): Promise<{ |
| 501 | name: string |
| 502 | format: string |
| 503 | platform: string |
| 504 | messageCount: number |
| 505 | memberCount: number |
| 506 | fileSize: number |
| 507 | tempDbPath: string |
| 508 | }> { |
| 509 | return sendToWorkerWithProgress('streamParseFileInfo', { filePath }, onProgress) |
| 510 | } |
| 511 | |
| 512 | /** |
| 513 | * 流式导入聊天记录 |
nothing calls this directly
no test coverage detected