Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

svn::dump::headers(3) [osx man page]

SVN::Dump::Headers(3)					User Contributed Perl Documentation				     SVN::Dump::Headers(3)

NAME
SVN::Dump::Headers - Headers of a SVN dump record SYNOPSIS
DESCRIPTION
An "SVN::Dump::Headers" object represents the headers of a SVN dump record. METHODS
"SVN::Dump::Headers" provides the following methods: new( [$hashref] ) Create and return a new empty "SVN::Dump::Headers" object. If $hashref is given (it can be a blessed hash reference), the keys from the hash are used to initialise the headers. set($h, $v) Set the $h header to the value $v. "_" can be used as a replacement for "-" in the header name. get($h) Get the value of header $h. "_" can be used as a replacement for "-" in the header name. keys() Return the list of headers, in canonical order. as_string() Return a string that represents the record headers. type() It is possible to guess the record type from its headers. This method returns a string that represents the record type. The string is one of "revision", "node", "uuid" or "format". The method dies if it can't determine the record type. ENCAPSULATION
When using "SVN::Dump" to manipulate a SVN dump, one should not directly access the "SVN::Dump::Headers" component of a "SVN::Dump::Record", but use the "set_header()" and "get_header()" methods of the record object. SEE ALSO
"SVN::Dump::Record". COPYRIGHT &; LICENSE Copyright 2006 Philippe 'BooK' Bruhat, All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.0 2008-06-12 SVN::Dump::Headers(3)

Check Out this Related Man Page

SVN::Dump::Reader(3pm)					User Contributed Perl Documentation				    SVN::Dump::Reader(3pm)

NAME
SVN::Dump::Reader - A Subversion dump reader SYNOPSIS
# !!! 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(); DESCRIPTION
The "SVN::Dump::Reader" class implements a reader object for Subversion dumps. METHODS
The following methods are available: new( $fh, \%options ) Create a new "SVN::Dump::Reader" attached to the $fh filehandle. The only supported option is "check_digest", which is disabled by default. read_record( ) Read and return a new SVN::Dump::Record object from the dump filehandle. If the option "check_digest" is enabled, this method will recompute the digests for a dump without deltas, based on the information in the "Text-content-md5" and "Text-content-sha1" headers (if the corresponding "Digest::" module is available). In case of a mismatch, the routine will "die()" with an exception complaining about a "checksum mismatch". read_header_block( ) Read and return a new SVN::Dump::Headers object from the dump filehandle. read_property_block( ) Read and return a new SVN::Dump::Property object from the dump filehandle. read_text_block( ) Read and return a new SVN::Dump::Text object from the dump filehandle. The "read_..." methods will die horribly if asked to read inconsistent data from a stream. SEE ALSO
SVN::Dump, SVN::Dump::Headers, SVN::Dump::Property, SVN::Dump::Text. COPYRIGHT
Copyright 2006-2011 Philippe 'BooK' Bruhat, All Rights Reserved. LICENSE
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.10.1 2011-03-22 SVN::Dump::Reader(3pm)
Man Page