Libzypp/SelectionData
İçindekiler
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
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.
Notes
For ZYPP, we will not provide "archivesize" - this is not used at all in YCP code anymore. Also the dependency information should not be exported from ZYPP. It is currently used in:
- "recommends" -> Software Proposal
- "requires" -> Repair, inst_default_desktop (obsolete ?)
- "suggests" -> inst_default_desktop (obsolete ?)
Last edit in Trac '01/27/06 09:38:51' by 'visnov'
Last edit in Trac '01/27/06 09:38:51' by 'visnov'
Last edit in Trac '01/27/06 09:38:51' by 'visnov'
Last edit in Trac '01/27/06 09:38:51' by 'visnov'