diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2007-09-11 15:41:35 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2007-09-11 15:41:35 +0000 |
commit | 718717e8529a54a393d695240f88a5f6dc68cc3d (patch) | |
tree | 8d58de8c07e49f9e7fc3795347a61cab4e03eadc /URPM/Resolve.pm | |
parent | 819cda3c2d62f90fd7257f6a3035817a7e1a0b78 (diff) | |
download | perl-URPM-718717e8529a54a393d695240f88a5f6dc68cc3d.tar perl-URPM-718717e8529a54a393d695240f88a5f6dc68cc3d.tar.gz perl-URPM-718717e8529a54a393d695240f88a5f6dc68cc3d.tar.bz2 perl-URPM-718717e8529a54a393d695240f88a5f6dc68cc3d.tar.xz perl-URPM-718717e8529a54a393d695240f88a5f6dc68cc3d.zip |
add some doc
Diffstat (limited to 'URPM/Resolve.pm')
-rw-r--r-- | URPM/Resolve.pm | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/URPM/Resolve.pm b/URPM/Resolve.pm index adff491..a51ac0a 100644 --- a/URPM/Resolve.pm +++ b/URPM/Resolve.pm @@ -989,10 +989,11 @@ sub _no_more_recent_installed_and_providing { $allow; } -#- do the opposite of the above, unselect a package and extend -#- to any package not requested that is no longer needed by -#- any other package. +#- do the opposite of the resolve_requested: +#- unselect a package and extend to any package not requested that is no +#- longer needed by any other package. #- return the packages that have been deselected. +#- removes things in $state->{selected}, $state->{rejected} and $state->{whatrequires} sub disable_selected { my ($urpm, $db, $state, @pkgs_todo) = @_; my @unselected; @@ -1047,6 +1048,8 @@ sub disable_selected { } #- determine dependencies that can safely been removed and are not requested +#- return the packages that have been deselected. +#- removes things in $state->{selected}, $state->{rejected} and $state->{whatrequires} sub disable_selected_and_unrequested_dependencies { my ($urpm, $db, $state, @pkgs_todo) = @_; my @all_unselected; |