(ref: AzureRef)
| 409 | } |
| 410 | |
| 411 | async deleteRef(ref: AzureRef): Promise<void> { |
| 412 | const deleteBranchPayload = [ |
| 413 | { |
| 414 | name: ref.name, |
| 415 | oldObjectId: ref.objectId, |
| 416 | newObjectId: '0000000000000000000000000000000000000000', |
| 417 | }, |
| 418 | ]; |
| 419 | |
| 420 | await this.requestJSON({ |
| 421 | method: 'POST', |
| 422 | url: `${this.endpointUrl}/refs`, |
| 423 | body: JSON.stringify(deleteBranchPayload), |
| 424 | }); |
| 425 | } |
| 426 | |
| 427 | async uploadAndCommit( |
| 428 | items: AzureCommitItem[], |
no outgoing calls
no test coverage detected