GitOid.toString

Return the string representation of this Oid, in hex form.

struct GitOid
string
toString
const
(
)

Examples

// convert hex to oid and back to hex
const hex = "49322bb17d3acc9146f98c97d078513228bbf3c0";
const oid = GitOid(hex);
assert(to!string(oid) == format("GitOid(%s)", hex.toUpper));

Meta