The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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::WorkingFileOrDirectory

CLASS 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