Pkg::SourceScan Source_SourceCacheCopyTo.htmlPrev  Access to Installation Sources  Source_SourceCreate.htmlNext Name
Pkg::SourceScan — Scan a Source Media
Synopsis
            list<integer>
            
SourceScan          (
            string
             
url          , 
             string
             
product_dir          
); Parameters
            
string            
url          
The media to scan.
Optional Arguments
            
string            
product_dir          
Restrict scan to a certain InstSrc located in media_url/product_dir.
Return
            
list<integer>          
list of SrcIds (integer). 
Description
        
 Load all InstSrces found at media_url, i.e. all sources mentioned in /media.1/products. If no /media.1/products is available, InstSrc is expected to be located directly below media_url (product_dir: /).
      
        
 If a product_dir is provided, only the InstSrc located at media_url/product_dir is loaded.
      
        
 In contrary to @ref SourceCreate, InstSrces are loaded into the InstSrcManager, but not enabled (packages and selections are not provided to the PackageManager), and the SrcIds of all InstSrces found are returned.
      
Source_SourceCacheCopyTo.htmlPrev  Source.htmlUp  Source_SourceCreate.htmlNext Pkg::SourceCacheCopyTo index.htmlHome  Pkg::SourceCreate 