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