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

Function getCommitDate

main.js:341–349  ·  view source on GitHub ↗
(callback)

Source from the content-addressed store, hash-verified

339}
340
341function getCommitDate (callback) {
342 exec('git show -s --format=%ct', {cwd: settings.TGX_SOURCE_PATH}, (error, stdout, stderr) => {
343 if (error) {
344 throw error;
345 }
346 const result = parseInt(trimIndent(stdout).trim());
347 callback(result);
348 });
349}
350
351function gitPull (callback) {
352 exec('git pull', {cwd: settings.TGX_SOURCE_PATH}, (error, stdout, stderr) => {

Callers 1

getAppVersionFunction · 0.85

Calls 1

trimIndentFunction · 0.85

Tested by

no test coverage detected