Class | AWS::S3::Tree::ChildCollection |
In: |
lib/aws/s3/tree/child_collection.rb
|
Parent: | Object |
collection | [R] |
@return [ObjectCollection, ObjectVersionCollection,
MultipartUploadCollection] Returns the collection this tree is based on. |
delimiter | [R] | When looking at S3 keys as a tree, the delimiter defines what string pattern seperates each level of the tree. The delimiter defaults to ’/’ (like in a file system). @return [String] |
parent | [R] | @return [Tree, BranchNode] The parent node in the tree. |
prefix | [R] | A tree may have a prefix of where in the bucket to be based from. @return [String,nil] |
@return [Boolean] Returns true if the tree is set to auto-append
the delimiter to the prefix when the prefix does not end with the delimiter.
Yields up branches and leaves.
A branch node represents a common prefix (like a directory) and a leaf node represents a key (S3 object).
@yield [tree_node] Yields up a mixture of branches and leafs. @yieldparam [BranchNode,LeafNode] tree_node A branch or a leaf. @return [nil]