pub fn parse_links(
source: &str,
source_version: &str,
kind: LinkType,
map: Option<&Value>,
batch: bool,
) -> Result<Links, LoadError>Expand description
ArrayLoader::parseLinks (load, one package) or
configureCachedLinks (loadPackages, a repository batch) for one link
type. In batch mode, a link to the package itself is ignored and a
non-string constraint is an error; in single mode, it is ignored.