Max Kanat-Alexander > VCI-0.1.1 > VCI::Abstract::FileContainer

Download:
VCI-0.1.1.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
Report a bug
Source   Latest Release: VCI-0.5.2

NAME ^

VCI::Abstract::FileContainer - Anything that can contain a File or Directory.

DESCRIPTION ^

This is a Moose::Role that represents anything that can hold files. Usually that's a VCI::Abstract::Directory.

METHODS ^

Accessors

These accessors are all read-only.

contents

An arrayref of VCI::Abstract::Committable objects that we contain. The order is not guaranteed.

contents_history

The VCI::Abstract::History of all the items in this container. The History will contain information about all of the items inside the container, but possibly won't contain information about anything outside of the container.

This does not include the history of the item itself, if the item itself has a history. (That is, if this item is also a VCI::Abstract::Committable, you should use the history method to get information about this specific item.)

project

The VCI::Abstract::Project that this FileContainer belongs to.

SEE ALSO ^

Implementors: VCI::Abstract::Directory and VCI::Abstract::Commit