class Git::Blob

Defined in:

git/blob.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.from_buffer(repo : Repo, data : String) #

[View source]
def self.from_diff(diff : Diff) #

[View source]
def self.lookup(r : Repo, oid : String) #

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

[View source]

Instance Method Detail

def binary? #

[View source]
def content(max_size : Int | Nil = nil) #

[View source]
def finalize #

[View source]
def loc #

[View source]
def size #

[View source]
def sloc #

[View source]
def text #

[View source]