Skip to main content

analyze_parsed_manifests

Function analyze_parsed_manifests 

Source
pub fn analyze_parsed_manifests<'a, Doc>(
    manifests: &'a [Manifest],
    root_manifest_path: &str,
    parse_one: impl Fn(&'a Manifest) -> Option<Result<(String, Doc), WorkspaceError>>,
    discover: impl FnOnce(&'a [Manifest], &[(String, String, Doc)]) -> Result<Vec<String>, WorkspaceError>,
    include_owner: impl Fn(&Doc) -> bool,
    extract_declared: impl FnOnce(&[(String, String, Doc)]) -> Vec<DeclaredDep>,
) -> ManifestAnalysis