SVN::Dump::Headers - Headers of a SVN dump record
version 0.08
# SVN::Dump::Headers objects are returned by the read_header_block() # method of SVN::Dump::Reader
A SVN::Dump::Headers object represents the headers of a SVN dump record.
SVN::Dump::Headers provides the following methods:
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.
$hashref
Set the $h header to the value $v.
$h
$v
_ can be used as a replacement for - in the header name.
_
-
Get the value of header $h.
Return the list of headers, in canonical order.
Return a string that represents the record headers.
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.
revision
node
uuid
format
The method dies if it can't determine the record type.
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.
set_header()
get_header()
SVN::Dump, SVN::Dump::Reader, SVN::Dump::Record.
Copyright 2006-2011 Philippe Bruhat (BooK), All Rights Reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install SVN::Dump, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SVN::Dump
CPAN shell
perl -MCPAN -e shell install SVN::Dump
For more information on module installation, please visit the detailed CPAN module installation guide.