class Git::Commit

Defined in:

git/commit.cr

Class Method Summary

Instance Method Summary

Instance methods inherited from class Git::Object

oid oid, read_raw read_raw, type type

Constructor methods inherited from class Git::Object

new(obj : LibGit::Object) new

Class methods inherited from class Git::Object

lookup(repo : Repo, sha : String) lookup

Instance methods inherited from class Git::C_Pointer

finalize finalize

Instance methods inherited from class Git::C_Value

==(other : self) ==, to_unsafe to_unsafe

Class Method Detail

def self.create(repo : Repo, data : CommitData) #

[View source]
def self.create_to_s(repo : Repo, data : CommitData) #

[View source]
def self.lookup(repo : Repo, sha : String) #

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

[View source]

Instance Method Detail

def amend(data : AmendData) #

[View source]
def author #

[View source]
def committer #

[View source]
def diff(commit : Commit) #

[View source]
def diff(tree : Tree) #

[View source]
def diff #

[View source]
def epoch_time #

[View source]
def finalize #

[View source]
def message #

[View source]
def parent(n : Int) #

[View source]
def parent #

[View source]
def parent_count #

[View source]
def parents #

[View source]
def sha #

[View source]
def time #

[View source]
def to_s(io) #

[View source]
def tree #

[View source]