VCS::LibCVS::RepositoryFile - A File in the CVS repository.
Represents a file in the CVS repository.
VCS::LibCVS::RepositoryFileOrDirectory
$files_tags = $cvs_file->get_tags()
Returns a list of all the non-branch tags on the file.
if ($cvs_file->has_tag("foo_tag")) { . . .
Returns true if the file has a non-branch tag by that name.
$files_branches = $cvs_file->get_branches()
Returns a list of all the named branches of the file.
This includes the revision 1 trunk, with the name .TRUNK, but does not include any other unnamed branches.
$files_branch = $cvs_file->get_branch("branch_1_1_4_stabilization")
Return the specified branch, or undef if there is no such branch. The branch can be specified by a name, a branch revision number, or a Branch.
$files_rev = $cvs_file->get_revision($tag_or_revision)
Returns the revision of the file specified by the named tag or revision number, or raises an error if there is no such tag or revision.
The BASE tag is not supported, since this is a repository object with no knowledge of the working directory. The WorkingFile object will provide the necessary information.
VCS::LibCVS
To install VCS::LibCVS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VCS::LibCVS
CPAN shell
perl -MCPAN -e shell install VCS::LibCVS
For more information on module installation, please visit the detailed CPAN module installation guide.