(type: string, name: string)
| 1272 | } |
| 1273 | |
| 1274 | deleteRef(type: string, name: string) { |
| 1275 | return this.request(`${this.repoURL}/git/refs/${type}/${encodeURIComponent(name)}`, { |
| 1276 | method: 'DELETE', |
| 1277 | }); |
| 1278 | } |
| 1279 | |
| 1280 | async getBranch(branch: string) { |
| 1281 | const result: Endpoints['GET /repos/{owner}/{repo}/branches/{branch}']['response']['data'] = |