From 01a70edbe99b55ebb91210c68fae5767bcc2a8f3 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 26 Feb 2008 22:38:16 +0000 Subject: add comment --- urpm/removable.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'urpm') diff --git a/urpm/removable.pm b/urpm/removable.pm index 7b3bee2f..97b15a39 100644 --- a/urpm/removable.pm +++ b/urpm/removable.pm @@ -237,6 +237,7 @@ sub _create_blists { map { { medium => $_, list => $list->[$i++] } } @$media ]; } +#- side-effects: none sub _sort_media { my ($urpm, @l) = @_; @@ -253,6 +254,10 @@ sub _sort_media { #- $list is a [ { pkg_id1 => url1, ... }, { ... }, ... ] #- where there is one hash for each medium in {media} +#- +#- side-effects: +#- + those of _get_removables_or_check_mounted ($urpm->{removable_mounted}, "mount") +#- + those of _examine_removable_medium ($urpm->{removable_mounted}, $sources, "mount", "umount", "eject", "copy-move-files") sub copy_packages_of_removable_media { my ($urpm, $list, $sources, $o_ask_for_medium) = @_; -- cgit v1.2.1