(projectId: string)
| 584 | } |
| 585 | |
| 586 | private getProjectSyncKey(projectId: string): string { |
| 587 | return [ |
| 588 | this.config.host, |
| 589 | this.config.port?.toString() ?? "22", |
| 590 | this.config.identityFile ?? "default", |
| 591 | this.config.srcBaseDir, |
| 592 | projectId, |
| 593 | ].join(":"); |
| 594 | } |
| 595 | |
| 596 | private isRetryableProjectSyncError(errorMsg: string): boolean { |
| 597 | return PROJECT_SYNC_RETRYABLE_ERRORS.some((pattern) => errorMsg.includes(pattern)); |