Name

Pkg::GetSelections — Return list of selections matching given status

Synopsis

list<string> GetSelections ( symbol  status ,
  string  category );

Parameters

symbol status

`all,`selected or `installed

string category

base or empty string for addons

Return

list<string>

Description

returns a list of selection names matching the status symbol and the category.

If category == "base", base selections are returned

If category == "", addon selections are returned else selections matching the given category are returned