Oid Commit::oid() const { const git_oid* oid = git_commit_id(get()); return Oid(oid); }
/** * \brief Return the null Oid. * * Objects of this class are not allowed in INDEX clauses according * to RFC 2578, 7.7. "Mapping of the INDEX clause". Therefore, this * method returns the null Oid. */ virtual Oid toOid() const { return Oid(); }