class Grits::Oid

Included Modules

Defined in:

grits/oid.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(raw : LibGit::Oid) #

[View source]

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


[View source]

Instance Method Detail

def object(repo : Repo, type = Object::Type::Any) #

[View source]
def to_s(io) #

Return the SHA hash for this Oid


[View source]