MCPcopy
hub / github.com/leonhartX/gas-github / getAllBranches

Method getAllBranches

src/scm/gitlab.js:107–117  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

105 }
106
107 getAllBranches() {
108 let repoId = getRepo().id || this.namesToIds.repos[getRepo().fullName];
109 return getAllItems(Promise.resolve({
110 tokenParam: this.tokenParam,
111 items: [],
112 url: `${this.baseUrl}/projects/${repoId}/repository/branches?per_page=25`
113 }),
114 this.followPaginate,
115 'gitlab'
116 );
117 }
118
119 getCode() {
120 return new Promise((resolve, reject) => {

Callers 1

updateBranchFunction · 0.45

Calls 2

getRepoFunction · 0.85
getAllItemsFunction · 0.85

Tested by

no test coverage detected