( dbManager: DatabaseManager, sessionId: string, filePath: string, onProgress?: ImportProgressCallback )
| 205 | } |
| 206 | |
| 207 | export async function analyzeIncrementalImport( |
| 208 | dbManager: DatabaseManager, |
| 209 | sessionId: string, |
| 210 | filePath: string, |
| 211 | onProgress?: ImportProgressCallback |
| 212 | ): Promise<IncrementalAnalyzeResult> { |
| 213 | let compatibilityError: DataDirCompatibilityError | null = null |
| 214 | const result = await sharedAnalyzeIncremental( |
| 215 | sessionId, |
| 216 | filePath, |
| 217 | buildIncrementalDeps(dbManager, onProgress, (error) => { |
| 218 | compatibilityError = error |
| 219 | }) |
| 220 | ) |
| 221 | if (compatibilityError) throw compatibilityError |
| 222 | return result |
| 223 | } |
| 224 | |
| 225 | export async function analyzeNewImport( |
| 226 | filePath: string, |
no test coverage detected