MCPcopy Index your code
hub / github.com/TGX-Android/Publisher / getLocalChanges

Function getLocalChanges

main.js:380–388  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

378}
379
380function getLocalChanges (callback) {
381 exec('git status --porcelain --untracked-files=no', {cwd: settings.TGX_SOURCE_PATH}, (error, stdout, stderr) => {
382 if (error) {
383 throw error;
384 }
385 const changes = trimIndent(stdout).trim();
386 callback(changes && changes.length ? changes : null);
387 });
388}
389
390function postHttp (url, jsonData, needBinary, httpOptions, method) {
391 return new Promise((accept, reject) => {

Callers 1

processPrivateCommandFunction · 0.85

Calls 1

trimIndentFunction · 0.85

Tested by

no test coverage detected