VCI::Abstract::File - A single file in the repository.
This represents a file in the repository. It implements VCI::Abstract::Committable, so all of those methods are available on a File in addition to the methods listed below.
These are methods you call to get information about a File. They are all read-only--you cannot update a File's information using this interface.
is_executable
1 if this file is tagged as an executable by the VCS, 0 if it is not. If the VCS doesn't track this info, this returns undef.
1
0
undef
Usually you won't construct an instance of this class directly, but instead, use various methods of other modules that create File objects by interacting with the Project.
new
Takes all "Accessors" of this class and VCI::Abstract::Committable, as named parameters. The following fields are required: path and project.
If you don't specify revision, VCI assumes you want an object representing the "latest" or "HEAD" revision of this File.
To install VCI, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VCI
CPAN shell
perl -MCPAN -e shell install VCI
For more information on module installation, please visit the detailed CPAN module installation guide.