VCS::LibCVS::WorkingDirectory - A directory checked out from CVS.
This object represents a directory of files checked out from CVS.
$working_dir = VCS::LibCVS::WorkingDirectory->new($dirname)
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.
$r_dir = $l_dir->get_remote_object()
Returns the CVS repository directory associated with this working directory.
It reads the CVS working dir administrative directory to get this info.
$l_files = $l_dir->get_files()
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.
Returns the DirectoryBranch that this local directory is on, as determined by any sticky tag.
$u_files = $l_dir->get_unmanaged_files()
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.
$s_dirs = $l_dir->get_directories()
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.