aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-21 11:57:29 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-21 11:57:29 +0000
commitae8bed85e1d097509bf66263fd55d0c7b0d7ee51 (patch)
tree89b00427d4ccbf02296dec03753cfea0317c0508
parent7be026f99d4b0860524d94f58d6c8b03f214a485 (diff)
downloadperl-URPM-ae8bed85e1d097509bf66263fd55d0c7b0d7ee51.tar
perl-URPM-ae8bed85e1d097509bf66263fd55d0c7b0d7ee51.tar.gz
perl-URPM-ae8bed85e1d097509bf66263fd55d0c7b0d7ee51.tar.bz2
perl-URPM-ae8bed85e1d097509bf66263fd55d0c7b0d7ee51.tar.xz
perl-URPM-ae8bed85e1d097509bf66263fd55d0c7b0d7ee51.zip
document URPM::traverse_tag_find()
(introduced in URPM-3.39)
-rw-r--r--URPM.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/URPM.pm b/URPM.pm
index 9d0010b..f71c1f4 100644
--- a/URPM.pm
+++ b/URPM.pm
@@ -399,6 +399,14 @@ Then, $callback is called for each matching package in the depslist.
This is used when faking a URPM::DB: $urpm can be used as-a $db
+=item $urpm->traverse_tag_find($tag,$name,$callback)
+
+Quite similar to C<traverse_tag>, but stops when $callback returns true.
+
+(also note that only one $name is handled)
+
+This is used when faking a URPM::DB: $urpm can be used as-a $db
+
=item URPM::verify_rpm($file, %options)
Verifies an RPM file.