
Contenticious::Content::Node::Directory - a directory in a Contenticious tree

use Contenticious::Content::Node::Directory;
my $dir = Contenticious::Content::Node::Directory->new(
filename => 'foo'
);
my $first_child = $dir->children->[0];

Directory nodes represent directories in a Contenticious::Content content tree.

Contenticious::Content::Node::Directory inherits all Contenticious::Content::Node attributes and implements the following new ones:
An array ref of child elements in this content tree.

Contenticious::Content::Node::Directory inherits all Contenticious::Content::Node methods and implements the following new ones:
find_child my $foo = $dir->find_child('foo');
Returns the first child object with that name.
findmy $bar_baz = $dir->find(qw(bar baz));
Returns the first descendant with the path 'bar/baz' from here.

Contenticious::Content::Node, Contenticious::Content::Node::File, Contenticious::Content, Contenticious