simple git installed
This commit is contained in:
1 parent
e2a8f4be8e
commit
f2e744cb7e
276 files changed
+11110
-1
No files matched your search
+16
@@ -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
|
||||
Reference in new issue
Block a user