Test::S...::Forest(3)
π¦ Test::Smoke::Syncer::Forest π¦
okay bestie, listen up, this is the syncing girlie of the Test::Smoke::Syncer family and she does things a little differently, and honestly? iconic behaviour. π
What she does is she sets up a master directory that is in sync with either a snapshot or the repository. Then she creates a copy of this master directory as a hardlink forest and the regenheaders.pl script is run (if found). Now the source-tree should be up to date and ready to be copied as a hardlink forest again, to its final destination. like. she's just out here duplicating whole trees with hardlinks and not a single byte wasted. main character energy fr fr. β¨
π«Ά Shoutout to Nicholas Clark for donating this idea. king behaviour, we love to see it.
πΈ Test::Smoke::Syncer::Forest->new( %args ) πΈ
Keys for %args:
- All keys from the other methods (depending on
{fsync}) β yes she inherits, she's flexible like that π fsyncβ which master sync method is to be usedmdirβ master directoryfdirβ intermediate directory (first hardlink forest)
π $syncer->sync( ) π
sync() starts with a "traditional" sync according to {ftype} in {mdir}. It then creates a copy of {mdir} in {fdir} with hardlinks an tries to run the regen_headers.pl script in {fdir}. This directory should now contain an up to date (working) source-tree wich again using hardlinks is copied to the destination directory {ddir}. π
so yeah, it's a whole little relay race: master dir β intermediate hardlink forest β maybe run a script β boom, destination dir. passing the baton with hardlinks the entire way. obsessed. π§
π 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:
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. π«Ά no promises bestie, that's just how it is.
and that's the whole page!! π this one came from perl v5.42.0, dated 2025-07-25, and it's the Test::S...::Forest(3) manual page β mwah, slay, bye π
π¦ where this page comes from
- fedora 43: perl-Test-Smoke 1.84-2.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms