Skip to content

struct Grits::Commit
inherits Struct #

Included modules

Grits::Mixins::Pointable

Constructors#

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

Class methods#

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

.lookup(repo : Repo, id : Oid)#

Methods#

#author : Signature#

#committer : Signature#

#data#

#free#

#id#

#message#

#repo#

#sha#

#tree#

#tree_id#