MCPcopy Create free account
hub / github.com/TGX-Android/Publisher / gitPull

Function gitPull

main.js:351–358  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

349}
350
351function gitPull (callback) {
352 exec('git pull', {cwd: settings.TGX_SOURCE_PATH}, (error, stdout, stderr) => {
353 if (error) {
354 throw error;
355 }
356 callback(stdout);
357 });
358}
359
360function getGitData (callback) {
361 exec('echo "$(git rev-parse --short HEAD) $(git rev-parse HEAD) $(git show -s --format=%ct) $(git config --get remote.origin.url) $(git rev-parse --abbrev-ref HEAD) $(git log -1 --pretty=format:\'%an\')"', {cwd: settings.TGX_SOURCE_PATH}, (error, stdout, stderr) => {

Callers 1

processPrivateCommandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected