Skip to main content

resolve

Function resolve 

Source
pub fn resolve(root_path: &Path) -> Result<ModuleGraph, ResolveError>
Expand description

Resolve a module and all its transitive imports.

Starting from root_path, parses the file, follows use declarations, and builds a ModuleGraph with all modules in dependency order.