class Git::Repository

Defined in:

git/repo.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from class Git::C_Pointer

finalize finalize

Instance methods inherited from class Git::C_Value

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

Constructor Detail

def self.new(value : LibGit::Repository, path : String) #

[View source]

Class Method Detail

def self.init_at(path, is_bare = false) #

[View source]
def self.open(path : String) #

[View source]

Instance Method Detail

def ahead_behind(local : Oid, upstream : Oid) #

[View source]
def ahead_behind(local : Commit, upstream : Commit) #

[View source]
def attributes(path : String) #

[View source]
def bare? : Bool #

[View source]
def blame #

[View source]
def branches #

[View source]
def empty? : Bool #

[View source]
def exists?(oid : Oid) #

[View source]
def exists?(sha : String) #

[View source]
def finalize #

[View source]
def head #

[View source]
def head? #

[View source]
def last_commit #

[View source]
def lookup(sha : String) #

[View source]
def lookup_blob(oid : Oid) #

[View source]
def lookup_blob(sha : String) #

[View source]
def lookup_commit(oid : Oid) #

[View source]
def lookup_commit(sha : String) #

[View source]
def lookup_tag(oid : Oid) #

[View source]
def lookup_tag(sha : String) #

[View source]
def lookup_tree(oid : Oid) #

[View source]
def lookup_tree(sha : String) #

[View source]
def path : String #

[View source]
def ref(name : String) #

[View source]
def ref_names #

[View source]
def references #

[View source]
def refs(glob : String) #

[View source]
def refs #

[View source]
def remotes #

[View source]
def shallow? : Bool #

[View source]
def tags(glob : String) #

[View source]
def tags #

[View source]
def walk(from : String | Oid, sorting : Sort = Sort::Time, &) #

[View source]
def walk(from : String | Oid, sorting : Sort = Sort::Time) #

[View source]
def workdir #

[View source]