summaryrefslogtreecommitdiffstats
path: root/urpm/mirrors.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-08-31 16:45:16 +0000
committerThierry Vignaud <tv@mageia.org>2012-08-31 16:45:16 +0000
commitd90e2c33fec88adabef87549ec3d1b4fb65d9587 (patch)
treed52440e9b830446ca5560a2533cf00850ef3804d /urpm/mirrors.pm
parent3cd85172bf689b679e8c1fc626690ba87b136d74 (diff)
downloadurpmi-d90e2c33fec88adabef87549ec3d1b4fb65d9587.tar
urpmi-d90e2c33fec88adabef87549ec3d1b4fb65d9587.tar.gz
urpmi-d90e2c33fec88adabef87549ec3d1b4fb65d9587.tar.bz2
urpmi-d90e2c33fec88adabef87549ec3d1b4fb65d9587.tar.xz
urpmi-d90e2c33fec88adabef87549ec3d1b4fb65d9587.zip
convert a couple comments to POD
Diffstat (limited to 'urpm/mirrors.pm')
-rw-r--r--urpm/mirrors.pm20
1 files changed, 14 insertions, 6 deletions
diff --git a/urpm/mirrors.pm b/urpm/mirrors.pm
index f3ef162b..3fcf9b13 100644
--- a/urpm/mirrors.pm
+++ b/urpm/mirrors.pm
@@ -18,9 +18,12 @@ urpm::mirrors - Mirrors routines for urpmi
=over
-=cut
+=item try($urpm, $medium, $try)
+
+$medium fields used: mirrorlist, with-dir
+
+=cut
-#- $medium fields used: mirrorlist, with-dir
#- side-effects: $medium->{url}
#- + those of _pick_one ($urpm->{mirrors_cache})
sub try {
@@ -36,10 +39,15 @@ sub try {
0;
}
-#- similar to try() above, but failure is "normal"
-#- (useful when we lookup a file)
-#-
-#- $medium fields used: mirrorlist, with-dir
+=item try_probe($urpm, $medium, $try)
+
+Similar to try() above, but failure is "normal" (useful when we lookup
+a file)
+
+$medium fields used: mirrorlist, with-dir
+
+=cut
+
#- side-effects: $medium->{url}
#- + those of list_urls ($urpm->{mirrors_cache})
sub try_probe {