Libzypp/IsAvailable
From openSUSE
< Libzypp
Contents |
[edit]
Name
Pkg::IsAvailable — Check if package (tag) is available
[edit]
Synopsis
boolean IsAvailable ( string tag );
[edit]
Parameters
string tag
== Return ==
boolean
[edit]
Description
returns a 'true' if the tag is available on any of the currently active installation sources. (i.e. it is installable)
tag can be a package name, a string from requires/provides or a file name (since a package implictly provides all its files)
[edit]
Usage
Pkg::IsAvailable ("yast2") -> true
[edit]
Notes
Current implementation does not support tags, only the package name.
Last edit in Trac '01/27/06 15:11:31' by 'visnov'
Last edit in Trac '01/27/06 15:11:31' by 'visnov'
Last edit in Trac '01/27/06 15:11:31' by 'visnov'
Last edit in Trac '01/27/06 15:11:31' by 'visnov'

