Rechercher une page de manuel
VCS::LibCVS::WorkingUnmanagedFile.3pm
Langue: en
Version: 2005-10-10 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
VCS::LibCVS::WorkingUnmanagedFile - A file which is not managed by CVS.SYNOPSIS
DESCRIPTION
This object represents a file not from CVS.SUPERCLASS
VCS::LibCVS::WorkingFileOrDirectoryCLASS ROUTINES
new()
$unmanaged_file = VCS::LibCVS::WorkingUnmanagedFile->new($filename)- return type: VCS::LibCVS::WorkingUnmanagedFile
- argument 1 type: scalar string
- The name of the file which is not under CVS control.
Creates a new WorkingUnmanagedFile. The filename may be relative or absolute, and is stored as such.
It throws an exception if the file is recorded in the CVS/Entries file, or should be ignored by CVS.
INSTANCE ROUTINES
is_in_the_way()
if ($u_file->is_in_the_way()) {- return type: boolean scalar
Returns true if there is a file or a directory in the repository with the same name as this file. This file is in the way because it prevents the update from the repository.
An unusual case occurs if this file has the same contents as the one in the repository. In this case, ``cvs update'' will add the local administrative information and not report ``in the way''. This routine will still return true in that case.
SEE ALSO
VCS::LibCVS
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre