Pkg::SourceScan — Scan a Source Media
list<integer>
SourceScan
( | string | url , |
string | product_dir
) ; |
Restrict scan to a certain InstSrc located in media_url/product_dir.
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.