class AWS::S3::Tree::BranchNode

@note Generally you do not need to create branch nodes.
@see Tree
Branch nodes are often treated like directories.
prefix are represented as a branch node.
When enumerating nodes in an S3 tree keys grouped by a common
back to the parent node using {#parent}.
can descend deeper into the tree using {Parent#children} or go
Represents a branch in an {S3::Tree}. From a branch node you

def as_tree

Returns:
  • (Tree) -
def as_tree
  Tree.new(collection,
           :prefix => prefix,
           :delimiter => delimiter,
           :append => append?)
end

def branch?

Returns:
  • (true) -
def branch?
  true
end

def initialize parent, collection, options = {}

Other tags:
    Private: -
def initialize parent, collection, options = {}
  @parent = parent
  super(collection,
        options.merge(:prefix => collection.prefix))
end

def leaf?

Returns:
  • (false) -
def leaf?
  false
end