Name

Pkg::GetPatterns — Return list of patterns matching given status (obsoleted, use ResolvableProperties())

Synopsis

list<string> GetPatterns ( 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 pattern names matching the status symbol and the category.

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

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

 status can be:

`all		: all known patterns<br>
`available	: available patterns<br>
`selected	: selected but not yet installed patterns<br>
`installed	: installed pattern<br>