VCS::LibCVS::Branch.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::Branch - A named branch in the repository.

SYNOPSIS

DESCRIPTION

Represents a named branch in the repository.

This branch may exist on any number of files. This class is not much more than a wrapper around a branch name.

The main branch (usually branch number 1) is named using the special name .TRUNK.

CLASS ROUTINES

new()

$branch = VCS::LibCVS::Branch->new($repo, $name)
return type: VCS::LibCVS::Branch
argument 1 type: VCS::LibCVS::Repository
argument 2 type: scalar string

INSTANCE ROUTINES

get_name()

$b_name = $branch->get_name()
return type: scalar string

equals()

if ($branch->equals($other_branch)) { . . .
return type: scalar boolean

SEE ALSO

   VCS::LibCVS