Skip to main content

resolve_module_for_file

Function resolve_module_for_file 

Source
pub fn resolve_module_for_file(
    project: &ProjectRoot,
    source_file: &Path,
    module: &str,
) -> Option<String>
Expand description

Resolve a raw import string to a relative path within the project. Public for use by the indexer.