John Barbee > Apache-CVS > Apache::CVS::RcsConfig

Download:
Apache-CVS-0.10.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  1
View Bugs
Report a bug
Source  

NAME ^

Apache::CVS::RcsConfig - class that holds configuration information for an RCS object

SYNOPSIS ^

 use Apache::CVS::RcsConfig();

 $config = Apache::CVS::RcsConfig->new();
 $extension = $config->extension();    
 $working = $config->working();    
 $binary = $config->binary();    

DESCRIPTION ^

The Apache::CVS::RcsConfig class holds data used to configure an Rcs object.

$config = Apache::CVS::RcsConfig->new([$extension], [$working_directory], [$rcs_binary_directory])

Construct a new Apache::CVS::RcsConfig object. The first argument is the extension of the versioned files. The second argument is the working directory where files may be checked out to. The last argument is the directory that contains the rcs binaries such as: co, rlog, and rcsdiff. The default for these arguments are ',v', '/var/tmp', and /usr/bin'.

$config->extension()

Returns the extension of this configuration.

$config->working()

Returns the working directory of this configuration.

$config->binary()

Returns the path to the RCS binaries stored in this configuration.

SEE ALSO ^

Apache::CVS, Rcs

AUTHOR ^

John Barbee <barbee@veribox.net>

COPYRIGHT ^

Copyright 2001-2002 John Barbee

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.