simple git installed

This commit is contained in:
Luis Fernando Molina committed 2021-01-05 10:10:30 +01:00
1 parent e2a8f4be8e
commit f2e744cb7e
276 files changed
+11110 -1

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.hashObjectTask = void 0;
const task_1 = require("./task");
/**
* Task used by `git.hashObject`
*/
function hashObjectTask(filePath, write) {
const commands = ['hash-object', filePath];
if (write) {
commands.push('-w');
}
return task_1.straightThroughStringTask(commands, true);
}
exports.hashObjectTask = hashObjectTask;
//# sourceMappingURL=hash-object.js.map