Initial commit - full huishou project

This commit is contained in:
jiapengyu
2026-07-27 14:07:26 +08:00
commit 60790ad1b3
39127 changed files with 5989265 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
"use strict";
var NodeGit = require("../");
var Oid = NodeGit.Oid;
// Backwards compatibility.
Object.defineProperties(Oid.prototype, {
"allocfmt": {
value: Oid.prototype.tostrS,
enumerable: false
},
"toString": {
value: Oid.prototype.tostrS,
enumerable: false
}
});
Oid.prototype.copy = function () {
return this.cpy(); // seriously???
};
Oid.prototype.inspect = function () {
return "[Oid " + this.allocfmt() + "]";
};