VCS::LibCVS::Datum::TagSpec - A CVS datum for a tag specification
$string = VCS::LibCVS::Datum::TagSpec->new("Trelease_1_01");
The concatentation of a tag type and value, like:
Trelease_1_01 D2002.11.18.05.00.00
These are the tag types for LibCVS:
VCS::LibCVS::Datum::TagSpec::TYPE_BRANCH (T) VCS::LibCVS::Datum::TagSpec::TYPE_DATE (D) VCS::LibCVS::Datum::TagSpec::TYPE_NONBRANCH (N) VCS::LibCVS::Datum::TagSpec::TYPE_REVISION (R)
This usage deviates from that in CVS, which is: (This should be validated for accuracy.)
D A date tag T In an entry line is any named symbolic or revision tag In a directory (CVS/Tag) indicates a branch tag N In a directory (CVS/Tag) indicates a non-branch tag
VCS::LibCVS::Datum
$tag_string = $tagspec->get_name()
Returns the name of the tagspec as a string
$tag_type = $tagspec->get_type()
one of VCS::LibCVS::Datum::TagSpec::TYPE_*
Returns the type of the tagspec
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.