SVN::D...:Reader(3pm)
π SVN::D...:Reader(3pm) π
okay bestie, welcome to the SVN::Dump::Reader page, straight out of the User Contributed Perl Documentation. this whole thing is literally a Subversion dump reader and she is serving. let's get into it π
β¨ NAME β¨
SVN::Dump::Reader β a Subversion dump reader. that's it. that's the whole vibe. π¦
πΈ VERSION πΈ
version 0.08. babygirl is on 0.08, respect her.
π SYNOPSIS π
look at this lil code moment:
# !!! You should use SVN::Dump, not SVN::Dump::Reader !!!
use SVN::Dump::Reader;
my $reader = SVN::Dump::Reader->new( $fh );
my $record = $reader->read_record();
no cap, that comment up top is shouting at you: !!! You should use SVN::Dump, not SVN::Dump::Reader !!! β she means it fr fr, don't use this one directly, use SVN::Dump. π
π DESCRIPTION π
so the SVN::Dump::Reader class is out here implementing a reader object for Subversion dumps. that's her whole job and she eats every single time. π₯
π METHODS π
these are the methods available, bestie, and they're all iconic:
new( $fh, \%options )β makes you a brand new SVN::Dump::Reader attached to the$fhfilehandle. the only option she supports ischeck_digest, and it's disabled by default (so like, off unless you say otherwise β¨).read_record( )β reads and returns a fresh SVN::Dump::Record object from the dump filehandle. and here's the tea: if you turned on thecheck_digestoption, this method will recompute the digests for a dump without deltas, based on the info sitting in theText-content-md5andText-content-sha1headers (that's only if the corresponding Digest module is available, so it's giving "if you have it, great"). and if there's a mismatch? she willdie()with an exception complaining about a"checksum mismatch". like, full on dramatic exit. πread_header_block( )β reads and returns a new SVN::Dump::Headers object from the dump filehandle. πread_property_block( )β reads and returns a new SVN::Dump::Property object from the dump filehandle. π¦read_text_block( )β reads and returns a new SVN::Dump::Text object from the dump filehandle. πΈ
β οΈ and also, important: all the read_... methods will die horribly if you ask them to read inconsistent data from a stream. not a cute little death either. horribly. so pls don't do that. π
π SEE ALSO π
go read these too, they're all part of the family: SVN::Dump, SVN::Dump::Record, SVN::Dump::Headers, SVN::Dump::Property, SVN::Dump::Text.
π COPYRIGHT π
Copyright 2006-2013 Philippe Bruhat (BooK), All Rights Reserved.
π«Ά LICENSE π«Ά
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. periodt. π
and that's the whole page, bestie!! π this was perl v5.36.0, dated 2022-10-14, and the manual name is SVN::D...:Reader(3pm) β tysm for reading, stay slaying, drink some water, mwah π§π
π¦ where this page comes from
- ubuntu noble: libsvn-dump-perl 0.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libsvn-dump-perl 0.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libsvn-dump-perl 0.08-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms