Class AWS::S3::Tree::BranchNode
In: lib/aws/s3/tree/branch_node.rb
Parent: Node

Represents a branch in an {S3::Tree}. From a branch node you can descend deeper into the tree using {Parent#children} or go back to the parent node using {parent}.

When enumerating nodes in an S3 tree keys grouped by a common prefix are represented as a branch node.

Branch nodes are often treated like directories.

@see Tree @note Generally you do not need to create branch nodes.

Methods

as_tree   branch?   leaf?   new  

Included Modules

Parent

Attributes

parent  [R]  @return [Tree, BranchNode] The parent node in the tree.

Public Class methods

Public Instance methods

Returns a new Tree object that starts at this branch node. The returned tree will have the same prefix, delimiter and append mode as the tree the branch belongs to.

@return [Tree]

@return [true]

@return [false]

[Validate]