1Test::Smoke::Syncer::FoUrseesrt(C3o)ntributed Perl DocumTeenstta:t:iSomnoke::Syncer::Forest(3)
2
3
4

Test::Smoke::Syncer::Forest

6       This handles syncing by setting up a master directory that is in sync
7       with either a snapshot or the repository. Then it creates a copy of
8       this master directory as a hardlink forest and the regenheaders.pl
9       script is run (if found). Now the source-tree should be up to date and
10       ready to be copied as a hardlink forest again, to its final
11       destination.
12
13       Thanks to Nicholas Clark for donating this idea.
14
15   Test::Smoke::Syncer::Forest->new( %args )
16       Keys for %args:
17
18         * All keys from the other methods (depending on {fsync})
19         * fsync: which master sync method is to be used
20         * mdir:  master directory
21         * fdir:  intermediate directory (first hardlink forest)
22
23   $syncer->sync( )
24       sync() starts with a "traditional" sync according to {ftype} in {mdir}.
25       It then creates a copy of {mdir} in {fdir} with hardlinks an tries to
26       run the regen_headers.pl script in {fdir}. This directory should now
27       contain an up to date (working) source-tree wich again using hardlinks
28       is copied to the destination directory {ddir}.
29
31       (c) 2002-2013, All rights reserved.
32
33         * Abe Timmerman <abeltje@cpan.org>
34
35       This library is free software; you can redistribute it and/or modify it
36       under the same terms as Perl itself.
37
38       See:
39
40         * <http://www.perl.com/perl/misc/Artistic.html>,
41         * <http://www.gnu.org/copyleft/gpl.html>
42
43       This program is distributed in the hope that it will be useful, but
44       WITHOUT ANY WARRANTY; without even the implied warranty of
45       MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
46
47
48
49perl v5.38.0                      2023-07-21    Test::Smoke::Syncer::Forest(3)
Impressum