Name

Pkg::SelectionData — Get Selection Data

Synopsis

map SelectionData ( string selection );
 

Parameters

string selection

Return

map

Returns an empty map if no selection found and Returns nil if called with wrong arguments

Description

This builtin will be replaced by ResolvableProperties() in the future.

Return information about selection


->	$["summary" : "This is a nice selection",
"category" : "Network",
"visible" : true,
"recommends" : ["sel1", "sel2", ...],
"suggests" : ["sel1", "sel2", ...],
"archivesize" : 12345678
"order" : "042",
"requires" : ["a", "b"],
"conflicts" : ["c"],
"provides" : ["d"],
"obsoletes" : ["e", "f"],
] 

Get summary (aka label), category, visible, recommends, suggests, archivesize, order attributes of a selection, requires, conflicts, provides and obsoletes.