1Test::Smoke::Syncer::FoUrseesrt(C3o)ntributed Perl DocumTeenstta:t:iSomnoke::Syncer::Forest(3)
2
3
4
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
25 {mdir}. It then creates a copy of {mdir} in {fdir} with hardlinks an
26 tries to run the regen_headers.pl script in {fdir}. This directory
27 should now contain an up to date (working) source-tree wich again using
28 hardlinks 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.36.0 2022-07-22 Test::Smoke::Syncer::Forest(3)