Skip to main content

load

Function load 

Source
pub fn load(
    config: &Value,
    origin: Origin,
    batch: bool,
) -> Result<(Package, Option<(String, String)>), LoadError>
Expand description

ArrayLoader::load($config) (batch = false) or one iteration of ArrayLoader::loadPackages (batch = true): the package, and its alias if any (to be added right before it, like ArrayRepository::addPackage).