[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/nodegit/nodegit/emscripten/lib/oid.js [Back]  [Original]

var git = require('../'),
    Oid = git.Oid;

/**
 * The hex representation of the SHA
 * @return {String}
 */
Oid.prototype.toString = function() {
  return this.sha();
};

Oid.prototype.inspect = function() {
  return "[Oid " + this.sha() + "]";
};

Web Proxy Viewer  |  New URL  |  Original Page