simple git installed
This commit is contained in:
1 parent
e2a8f4be8e
commit
f2e744cb7e
276 files changed
+11110
-1
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.FileStatusSummary = exports.fromPathRegex = void 0;
|
||||
exports.fromPathRegex = /^(.+) -> (.+)$/;
|
||||
class FileStatusSummary {
|
||||
constructor(path, index, working_dir) {
|
||||
this.path = path;
|
||||
this.index = index;
|
||||
this.working_dir = working_dir;
|
||||
if ('R' === (index + working_dir)) {
|
||||
const detail = exports.fromPathRegex.exec(path) || [null, path, path];
|
||||
this.from = detail[1] || '';
|
||||
this.path = detail[2] || '';
|
||||
}
|
||||
}
|
||||
}
|
||||
exports.FileStatusSummary = FileStatusSummary;
|
||||
//# sourceMappingURL=FileStatusSummary.js.map
|
||||
Reference in new issue
Block a user