Method
#getExportLocation
(projectRef: string, deploymentVersion: string, shortCode: string)
Source from the content-addressed store, hash-verified
| 192 | } |
| 193 | |
| 194 | #getExportLocation(projectRef: string, deploymentVersion: string, shortCode: string) { |
| 195 | const basename = `${projectRef}-${deploymentVersion}-${shortCode}`; |
| 196 | |
| 197 | if (this.#dockerMode) { |
| 198 | return basename; |
| 199 | } else { |
| 200 | return `${CHECKPOINT_PATH}/${basename}.tar`; |
| 201 | } |
| 202 | } |
| 203 | |
| 204 | async checkpointAndPush(opts: CheckpointAndPushOptions): Promise<CheckpointData | undefined> { |
| 205 | const start = performance.now(); |
Tested by
no test coverage detected