MCPcopy Create free account
hub / github.com/decaporg/decap-cms / getBranch

Method getBranch

packages/decap-cms-backend-forgejo/src/API.ts:547–549  ·  view source on GitHub ↗
(branchName: string)

Source from the content-addressed store, hash-verified

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);

Callers 3

getDefaultBranchMethod · 0.95
editorialWorkflowGitMethod · 0.95

Calls 1

requestMethod · 0.95

Tested by

no test coverage detected