VCS::LibCVS::Datum::TagSpec.3pm

Langue: en

Autres versions - même langue

Version: 2005-10-10 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

VCS::LibCVS::Datum::TagSpec - A CVS datum for a tag specification

SYNOPSIS

   $string = VCS::LibCVS::Datum::TagSpec->new("Trelease_1_01");
 
 

DESCRIPTION

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
 
 

SUPERCLASS

VCS::LibCVS::Datum

INSTANCE ROUTINES

get_name()

$tag_string = $tagspec->get_name()
return type: scalar string

Returns the name of the tagspec as a string

get_type()

$tag_type = $tagspec->get_type()
return type: scalar string
one of VCS::LibCVS::Datum::TagSpec::TYPE_*

Returns the type of the tagspec

SEE ALSO

   VCS::LibCVS::Datum