MCPcopy
hub / github.com/compodoc/compodoc / clone

Function clone

tools/ngd-graphs.js:218–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216let i = 0,
217 failedRepositories = [],
218 clone = repo => {
219 return new Promise(function(resolve, reject) {
220 exec(
221 'git clone https://github.com/' + repo.maintainer + '/' + repo.name,
222 (error, stdout, stderr) => {
223 if (error) {
224 console.error(`exec error: ${error}`);
225 reject();
226 } else {
227 resolve();
228 }
229 }
230 );
231 });
232 },
233 generateGraph = repo => {
234 return new Promise(function(resolve, reject) {
235 var tsconfig = 'tsconfig.json';

Callers 1

loopFunction · 0.70

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…