Alex Taler > VCS-LibCVS-1.0002 > VCS::LibCVS::DirectoryBranch

Download:
VCS-LibCVS-1.0002.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  2
View Bugs
Report a bug
Source  

NAME ^

VCS::LibCVS::DirectoryBranch - A CVS managed directory, viewed from a branch.

SYNOPSIS ^

DESCRIPTION ^

Represents a directory managed by CVS, viewed from a specific branch.

When getting the files in the directory, only those on that branch will be considered.

CLASS ROUTINES ^

new()

$dir_branch = VCS::LibCVS::DirectoryBranch->new($dir, $tag_spec)

return type: VCS::LibCVS::DirectoryBranch
argument 1 type: VCS::LibCVS::RepositoryDirectory
argument 2 type: VCS::LibCVS::Datum::TagSpec

INSTANCE ROUTINES ^

get_directory()

$dir = $dir_branch->get_directory()

return type: VCS::LibCVS::RepositoryDirectory

get_tag()

$tag = $dir_branch->get_tag()

return type: VCS::LibCVS::Datum::TagSpec

get_file_branches()

$file_bs = $dir_branch->get_file_branches()

return type: ref to hash of string -> VCS::LibCVS::FileBranch

Keys are the names of the files without directory specified Values are VCS::LibCVS::FileBranch objects

For each file in this directory, on this branch, return a FileBranch object.

It doesn't include files whose tip revision on this branch is dead.

SEE ALSO ^

  VCS::LibCVS