MCPcopy
hub / github.com/standard/standard / gitClone

Function gitClone

test/external/clone.js:94–100  ·  view source on GitHub ↗
(cb)

Source from the content-addressed store, hash-verified

92 }
93
94 function gitClone (cb) {
95 const args = ['clone', '--depth', 1, url, folder]
96 spawn(GIT, args, { stdio: 'ignore' }, err => {
97 if (err) err.message += ` (git clone) (${name})`
98 cb(err)
99 })
100 }
101
102 function gitPull (cb) {
103 const args = ['pull']

Callers

nothing calls this directly

Calls 1

spawnFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…