| [ Web Proxy ] |
| Viewing: https://raw.githubusercontent.com/javascript-forks/nodegit.nodegit/master/lib/oid.js | [Back] [Original] |
var NodeGit = require("../");
var Oid = NodeGit.Oid;
// Backwards compatibility.
Object.defineProperties(Oid.prototype, {
"toString": {
value: Oid.prototype.tostrS,
enumerable: false
},
"allocfmt": {
value: Oid.prototype.tostrS,
enumerable: false
}
});
Oid.prototype.inspect = function() {
return "[Oid " + this.allocfmt() + "]";
};
| Web Proxy Viewer | New URL | Original Page |