Pkg::PkgQueryProvides Package.htmlPrev  Access to packagemanager  Package_PkgMediaNames.htmlNext Name
Pkg::PkgQueryProvides — List all package instances providing 'tag'
Synopsis
            list
            
PkgQueryProvides          (
            string
             
tag          
); Parameters
            
string            
tag          
Return
            
list          
of all package instances providing 'tag'.
Description
        
 A package instance is itself a list of three items:
      
        
 - string name: The package name
      
        
 - symbol instance: Specifies which instance of the package contains a match.
      
        
 'NONE no match
      
        
 'INST the installed package
      
        
 'CAND the candidate package
      
        
 'BOTH both packages
      
        
 - symbol onSystem: Tells which instance of the package would be available on the system, if PkgCommit was called right now. That way you're able to tell whether the tag will be available on the system after PkgCommit. (e.g. if onSystem != 'NONE && ( onSystem == instance || instance == 'BOTH ))
      
        
 'NONE stays uninstalled or is deleted
      
        
 'INST the installed one remains untouched
      
        
 'CAND the candidate package will be installed
      
Usage
   Pkg::PkgQueryProvides( string tag ) -> [ [string, symbol, symbol], [string, symbol, symbol], ...]
 
Package.htmlPrev  Package.htmlUp  Package_PkgMediaNames.htmlNext Access to packagemanager index.htmlHome  Pkg::PkgMediaNames 