SVN::D...:Reader(3pm)

πŸ“¦
version 0.08 Β· 3 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸ’– 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 $fh filehandle. the only option she supports is check_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 the check_digest option, this method will recompute the digests for a dump without deltas, based on the info sitting in the Text-content-md5 and Text-content-sha1 headers (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 will die() 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 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