VCS::LibCVS::WorkingDirectory.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::WorkingDirectory - A directory checked out from CVS.

SYNOPSIS

DESCRIPTION

This object represents a directory of files checked out from CVS.

SUPERCLASS

VCS::LibCVS::WorkingFileOrDirectory

CLASS ROUTINES

new()

$working_dir = VCS::LibCVS::WorkingDirectory->new($dirname)
return type: VCS::LibCVS::WorkingDirectory
argument 1 type: scalar string
The name of the directory which is under CVS control.

Creates a new WorkingDirectory. The filename may be relative or absolute, and is stored as such.

INSTANCE ROUTINES

get_remote_object()

$r_dir = $l_dir->get_remote_object()
return type: VCS::LibCVS::RepositoryDirectory
Returns the CVS repository directory associated with this working directory.

It reads the CVS working dir administrative directory to get this info.

get_files()

$l_files = $l_dir->get_files()
return type: ref to hash
keys are filenames relative to this directory, as strings, values are objects of type VCS::LibCVS::WorkingFile.

Returns the CVS managed files in this directory, as specified locally in the CVS sandbox administrative directory.

get_directory_branch()

$local_dir->get_directory_branch()
return type: VCS::LibCVS::DirectoryBranch

Returns the DirectoryBranch that this local directory is on, as determined by any sticky tag.

get_unmanaged_files()

$u_files = $l_dir->get_unmanaged_files()
return type: ref to hash
keys are the names of files, relative to this directory. values are objects of type VCS::LibCVS::WorkingUnmanagedFile.

Return the list of files which are neither scheduled for addition, checked-out from the repository, nor ignored.

Note that there may be a file in the repository with the same name as one returned by this routine. This is a conflict situation.

get_directories()

$s_dirs = $l_dir->get_directories()
return type: ref to hash
keys are the names of directories, relative to this directory. values are objects of type VCS::LibCVS::WorkingDirectory.

Returns the CVS managed directories in this directory, as specified locally in the CVS sandbox administrative directory.

SEE ALSO

   VCS::LibCVS