(type: string, name: string)
| 1259 | } |
| 1260 | |
| 1261 | deleteRef(type: string, name: string) { |
| 1262 | return this.request(`${this.repoURL}/git/refs/${type}/${encodeURIComponent(name)}`, { |
| 1263 | method: 'DELETE', |
| 1264 | }); |
| 1265 | } |
| 1266 | |
| 1267 | async getBranch(branch: string) { |
| 1268 | const result: Endpoints['GET /repos/{owner}/{repo}/branches/{branch}']['response']['data'] = |