Module: MultiGit::Tree

Includes:
Object, Base
Included in:
GitBackend::Tree, JGitBackend::Tree, RuggedBackend::Tree
Defined in:
lib/multi_git/tree.rb

Defined Under Namespace

Modules: Base Classes: Builder

Instance Attribute Summary

Attributes included from Object

#oid, #repository

Instance Method Summary collapse

Methods included from Object

#bytesize, #content, #to_io

Methods included from Utils::AbstractMethods

#abstract

Methods included from Base

#==, #each, #entries, #entry, #glob, #hash, #key?, #names, #size, #traverse, #type

Methods included from Walkable

#walk

Instance Method Details

#to_builderBuilder

Returns:



199
200
201
# File 'lib/multi_git/tree.rb', line 199

def to_builder
  Builder.new(self)
end

#with_parent(parent, name) ⇒ Directory

Returns:



204
205
206
# File 'lib/multi_git/tree.rb', line 204

def with_parent(parent, name)
  Directory.new(parent, name, self)
end