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

Method getDefaultBranch

packages/decap-cms-backend-gitlab/src/API.ts:975–978  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

973 }
974
975 async getDefaultBranch() {
976 const branch: GitLabBranch = await this.getBranch(this.branch);
977 return branch;
978 }
979
980 async isShaExistsInBranch(branch: string, sha: string) {
981 const refs: GitLabCommitRef[] = await this.requestJSON({

Callers 2

APIClass · 0.95
allEntriesByFolderMethod · 0.45

Calls 1

getBranchMethod · 0.95

Tested by

no test coverage detected