From 3cd85172bf689b679e8c1fc626690ba87b136d74 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Fri, 31 Aug 2012 16:45:13 +0000 Subject: document some functions --- urpm/install.pm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'urpm/install.pm') diff --git a/urpm/install.pm b/urpm/install.pm index 741f9ee3..8754fe85 100644 --- a/urpm/install.pm +++ b/urpm/install.pm @@ -39,6 +39,11 @@ sub _hash_intersect_list { \%h; } +=item prepare_transaction($set, $blists, $sources) + +=cut + + sub prepare_transaction { my ($set, $blists, $sources) = @_; @@ -79,6 +84,12 @@ sub transaction_set_to_string { } @$set; } +=item install_logger($urpm, $type, $id, $subtype, $amount, $total) + +Standard logger for transactions + +=cut + # install logger callback sub install_logger { my ($urpm, $type, $id, $subtype, $amount, $total) = @_; @@ -116,6 +127,10 @@ sub install_logger { } } +=item get_README_files($urpm, $trans, $pkg) + +=cut + sub get_README_files { my ($urpm, $trans, $pkg) = @_; @@ -161,6 +176,10 @@ sub options { ); } +=item install($urpm, $remove, $install, $upgrade, %options) + +=cut + #- install packages according to each hash (remove, install or upgrade). #- options: #- test, excludepath, nodeps, noorder (unused), delta, -- cgit v1.2.1