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()
-
Create and return a new empty
SVN::Dump::Headers
object. - set($h, $v)
-
Set the
$h
header to the value$v
. - get($h)
-
Get the value of header
$h
. - 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
orformat
.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.