VCS::LibCVS::Client::Request::Requests - Classes for many requests
my $mode = VCS::LibCVS::Datum::Mode->new("u=rw,g=rw,o=r"); my $mod_request = VCS::LibCVS::Client::Request::Modified-> new( [ "afile" , $mode, "/tmp/afile" ] ); $client->submit_request($mod_request);
Each request of the CVS client protocol has its own class. Many of them are here.
Each request requires specific pieces of data; this data is listed by type and name for each request.
VCS::LibCVS::Client::Request
Specify the CVS root directory for this session. This request is issued automatically by the Client.
"String": RootDir
"String": List of valid responses
Ask the server for a list of requests it accepts. This request is issued automatically by the Client, who provides a way to access them.
No data is required.
Specify a directory which the next Argument Using Request will work in.
"DirectoryName": Local Directory "DirectoryName": Absolute Repository Directory
Specify that the most recent directory provided has a sticky tag.
"TagSpec": the sticky tag
Specify an RCS style Entry Line for the next Modifed request.
"Entry": The entry line
Specify the checkin time for the next Modifed request.
"Time": The checkin time
Specify the contents of a modified file.
"FileName": the name of the modified file "FileMode": its mode "FileContents": the file itself
Specify that a file is modified without sending its contents.
"FileName": Name of the modified file
Specify that a file has not been modified.
"FileName": Name of the unmodified file
Specify the version of the protocol
Specify the name of a file which may need to be ignored
Specify that the server should ignore case
Initialize a new repository. No need to call Root beforehand.
"String": RootName of repository to be initialized.
No operation. Do nothing except get pent up responses from the server
Return the version of CVS running as server.
VCS::LibCVS::Client VCS::LibCVS::Client::Request
To install VCS::LibCVS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VCS::LibCVS
CPAN shell
perl -MCPAN -e shell install VCS::LibCVS
For more information on module installation, please visit the detailed CPAN module installation guide.