class Grits::Oid
- Grits::Oid
- Reference
- Object
Included Modules
Defined in:
grits/oid.crConstructors
Class Method Summary
-
.from_sha(sha : String)
Fetch an Oid from a SHA hash
Instance Method Summary
- #object(repo : Repo, type = Object::Type::Any)
-
#to_s(io)
Return the SHA hash for this Oid
Constructor Detail
Class Method Detail
def self.from_sha(sha : String)
#
Fetch an Oid from a SHA hash
If the SHA size is not equal to 40 chars
this method will use git_oid_fromstrn