summaryrefslogtreecommitdiffstats
path: root/urpm/signature.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 16:45:13 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 16:45:13 +0000
commit3cd85172bf689b679e8c1fc626690ba87b136d74 (patch)
treed73d48ff546eb7f1667b7f179ad031c326354753 /urpm/signature.pm
parent9dadc64a5547524da5fcbe188b2d443709f627f0 (diff)
downloadurpmi-3cd85172bf689b679e8c1fc626690ba87b136d74.tar
urpmi-3cd85172bf689b679e8c1fc626690ba87b136d74.tar.gz
urpmi-3cd85172bf689b679e8c1fc626690ba87b136d74.tar.bz2
urpmi-3cd85172bf689b679e8c1fc626690ba87b136d74.tar.xz
urpmi-3cd85172bf689b679e8c1fc626690ba87b136d74.zip
document some functions
Diffstat (limited to 'urpm/signature.pm')
-rw-r--r--urpm/signature.pm19
1 files changed, 18 insertions, 1 deletions
diff --git a/urpm/signature.pm b/urpm/signature.pm
index 931a95c2..b873a06d 100644
--- a/urpm/signature.pm
+++ b/urpm/signature.pm
@@ -18,9 +18,26 @@ urpm::signature - Package signature routines for urpmi
=over
+=item check($urpm, $sources_install, $sources, %options)
+
+Checks a package signature, return a list of error messages
+
+Options:
+
+=over
+
+=item * basename
+
+whether to show full file paths or only file names in messages (used by rpmdrake)
+
+=item * callback
+
+A callback called on package verification (used by rpmdrake in order to update its progressbar)
+
+=back
+
=cut
-#- options: callback, basename
sub check {
my ($urpm, $sources_install, $sources, %options) = @_;
sort(_check($urpm, $sources_install, %options),