aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2013-03-26 22:42:17 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2013-11-05 16:54:48 +0100
commitdbefce62a21ee15c1e2b9747bbbbfcd02c7f00ad (patch)
tree1a0f0fe590061e9d9356335b4f36dca9f65f781d
parent63dcde85bdbafaea154c8bff7b8f27500da97723 (diff)
downloadperl-URPM-dbefce62a21ee15c1e2b9747bbbbfcd02c7f00ad.tar
perl-URPM-dbefce62a21ee15c1e2b9747bbbbfcd02c7f00ad.tar.gz
perl-URPM-dbefce62a21ee15c1e2b9747bbbbfcd02c7f00ad.tar.bz2
perl-URPM-dbefce62a21ee15c1e2b9747bbbbfcd02c7f00ad.tar.xz
perl-URPM-dbefce62a21ee15c1e2b9747bbbbfcd02c7f00ad.zip
document URPM::DB::verify() & URPM::stream2header()
why didn't you document it when you introduced them (pascal & rafael)?
-rw-r--r--URPM.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/URPM.pm b/URPM.pm
index 031e1af..c47257b 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -506,6 +506,10 @@ the RPM DB should be open in read/write mode.
Rebuilds the RPM database (like C<rpm --rebuilddb>). $prefix defaults to C<"">.
+=item verify($prefix)
+
+Verify the RPM database (like C<rpmdb --verify>). $prefix defaults to C<"">.
+
=item $db->traverse($callback)
Executes the specified callback (a code reference) for each package
@@ -560,6 +564,10 @@ by the evaluation of the specfile whose path is given as argument. All
dependencies stored in this header are exactly the one needed to build the
specfile.
+=item URPM::stream2header($fp)
+
+Returns a URPM::Package object containing the header read from $fp.
+
=back
=head3 Methods