Skip to main content

create

Function create 

Source
pub(crate) fn create(
    uris: Vec<RawUri>,
    source: &ResolvedInputSource,
    root_dir: Option<&Path>,
    fallback_base: &BaseInfo,
    extractor: Option<&BasicAuthExtractor>,
) -> Vec<Result<Request, RequestError>>
Expand description

Create requests out of the collected URLs. Returns a vector of valid URLs and errors. URLs are not deduplicated because repeated URLs may occur at different source locations.

If a URLs is ignored (because of the current settings), it will not be added to the results.