Skip to main content

resolve_import

Function resolve_import 

Source
pub fn resolve_import(
    path: &str,
    module: &str,
    paths: &BTreeSet<String>,
) -> Option<String>
Expand description

The repository file a test’s import names, when it is one: Rust use paths (crate::, a workspace crate’s name), Python modules (dotted, relative), relative TypeScript and JavaScript specifiers.