(branchName: string)
| 545 | } |
| 546 | |
| 547 | async getBranch(branchName: string): Promise<ForgejoBranch> { |
| 548 | return this.request(`${this.repoURL}/branches/${encodeURIComponent(branchName)}`); |
| 549 | } |
| 550 | |
| 551 | async getDefaultBranch(): Promise<ForgejoBranch> { |
| 552 | return this.getBranch(this.branch); |
no test coverage detected