struct Grits::Commit
- Grits::Commit
- Struct
- Value
- Object
Included Modules
Defined in:
grits/commit.crConstructors
Class Method Summary
- .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)
Instance Method Summary
- #author : Signature
- #committer : Signature
- #data
- #free
- #id
- #message
- #repo : Grits::Repo
- #sha
- #tree(& : Grits::Tree -> )
- #tree_id
Constructor Detail
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, &)
#