(tempFile: string, targetSessionId: string | undefined, externalId: string)
| 118 | } |
| 119 | |
| 120 | async importFile(tempFile: string, targetSessionId: string | undefined, externalId: string): Promise<ImportResult> { |
| 121 | if (targetSessionId && this.sessionExists(targetSessionId)) { |
| 122 | return this.incrementalImportFile(targetSessionId, tempFile) |
| 123 | } |
| 124 | return this.fullImportFile(tempFile, externalId) |
| 125 | } |
| 126 | |
| 127 | private async incrementalImportFile(sessionId: string, tempFile: string): Promise<ImportResult> { |
| 128 | this.logger.info(`[Pull] Incremental import to session ${sessionId}`) |
nothing calls this directly
no test coverage detected