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

Function getAllItems

src/util.js:36–41  ·  view source on GitHub ↗
(promise, followMethod, type)

Source from the content-addressed store, hash-verified

34}
35
36function getAllItems(promise, followMethod, type) {
37 return promise.then(followMethod)
38 .then((data) => {
39 return data.url ? getAllItems(Promise.resolve(data), followMethod, type) : data.items;
40 });
41}
42
43function createSCM(item) {
44 switch (item.scm) {

Callers 11

getAllBranchesMethod · 0.85
getNamespacesMethod · 0.85
getReposMethod · 0.85
getAllBranchesMethod · 0.85
getCodeMethod · 0.85
getNamespacesMethod · 0.85
getReposMethod · 0.85
getAllGistsMethod · 0.85
getAllBranchesMethod · 0.85
getReposMethod · 0.85
getNamespacesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected