Toader::VCS - Handles the VCS integration for Toader.
Version 0.0.1
This intiates the object.
One argument is accepted and that is to Toader object to use.
my $tvcs=Toader::VCS->new($toader); if ( $tvcs->error ){ warn('Error:'$tvcs->error.':'.$tvcs->errorFlag.': '.$tvcs->errorString); }
This adds a file or directory.
One option is accepted and that what is to be added.
$tvcs->add($someFile); if ( $tvcs->error ){ warn('Error:'$tvcs->error.':'.$tvcs->errorFlag.': '.$tvcs->errorString); }
This deletes a file or directory.
One option is accepted and that what is to be deleted.
$tvcs->delete($someFile); if ( $tvcs->error ){ warn('Error:'$tvcs->error.':'.$tvcs->errorFlag.': '.$tvcs->errorString); }
This checks if something is under VCS.
The returned value is a Perl boolean.
my $underVCS=$tvcs->underVCS($someFile); if ( $tvcs->error ){ warn('Error:'$tvcs->error.':'.$tvcs->errorFlag.': '.$tvcs->errorString); }
Checks if this object is usable or not.
$tvcs->usable;
Error handling is provided by Error::Helper.
No Toader object specified.
The object specified is not a Toader object.
Failed to read the .toader/config.ini .
Nothing specified to add.
What is to be added does not exist
The specified item is not a file or directory.
The configuration is not usable.
This most likely means either a config value is missing or it is disabled, such as in the example below.
vcs=0 [VCS] addExec=svn add --parents %%%item%%% > /dev/null deleteExec=svn del %%%item%%% > /dev/null underVCSexec=svn info %%%info%%% > /dev/null
One of the commands to execute returned a non-zero status.
Toader->getVCS errored.
Zane C. Bowers-Hadley, <vvelox at vvelox.net>
<vvelox at vvelox.net>
Please report any bugs or feature requests to bug-toader at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Toader. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-toader at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc Toader::VCS
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Toader
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/Toader
CPAN Ratings
http://cpanratings.perl.org/d/Toader
Search CPAN
http://search.cpan.org/dist/Toader/
Copyright 2013 Zane C. Bowers-Hadley.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install Toader, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Toader
CPAN shell
perl -MCPAN -e shell install Toader
For more information on module installation, please visit the detailed CPAN module installation guide.