pub fn load_package_refs(
configs: &[&Value],
origin: Origin,
arena: &mut Vec<Package>,
batch: bool,
) -> Result<Vec<usize>, LoadError>Expand description
load_packages over borrowed configs: a caller reading them out of a
larger document (a lock’s packages) hands the entries over without
copying the document first.