struct Grits::Commit

Included Modules

Defined in:

grits/commit.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(raw : LibGit::Commit, repo : Grits::Repo) #

[View source]

Class Method Detail

def self.create(repo : Grits::Repo, *, message : String, author : SignatureTuple, committer : SignatureTuple, parents : Array(Commit), tree : Grits::Tree, encoding : String = "UTF-8", update_ref : String | Reference, &) #

[View source]
def self.lookup(repo : Repo, id : Oid) #

[View source]

Instance Method Detail

def author : Signature #

[View source]
def committer : Signature #

[View source]
def data #

[View source]
def free #

[View source]
def id #

[View source]
def message #

[View source]
def repo : Grits::Repo #

[View source]
def sha #

[View source]
def tree(& : Grits::Tree -> ) #

[View source]
def tree_id #

[View source]