class Git::Tree

Defined in:

lib/tree.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(repo, safe) #

[View source]

Instance Method Detail

def diff_to_tree(other : self? = nil) : Git::Diff #

Diff the tree against another tree or the empty tree if other is undefined in the given Repo


[View source]
def lookup_path(path : String, type : Git::C::Otype? = nil) #

Lookup the given path in the tree


[View source]
def repo : Repo #

[View source]
def safe : Safe::Tree::Type #

[View source]