Test::Smoke::Syncer::Hardlink
This handles syncing by copying the source-tree from a local directory using the link function. This can be used as an alternative for make distclean.
Thanks to Nicholas Clark for donating this suggestion!
Test::Smoke::Syncer::Hardlink->new( %args )
Keys for %args
:
* ddir: destination directory
* hdir: source directory
* v: verbose
$syncer->sync( )
sync()
uses the File::Find module to make the hardlink forest in {ddir}.
COPYRIGHT
(c) 2002-2013, All rights reserved.
* Abe Timmerman <abeltje@cpan.org>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See:
* <http://www.perl.com/perl/misc/Artistic.html>,
* <http://www.gnu.org/copyleft/gpl.html>
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.