Skip to main content

load_repos

Function load_repos 

Source
pub fn load_repos(repos: &[(&str, &Path)]) -> Result<SourceSet>
Expand description

Load several repositories into one SourceSet under <name>/ prefixes.

Fails with io::ErrorKind::InvalidInput when one name is used twice or is a prefix directory of another (api and api/v2), since one repository’s files would then replace the other’s.