pub fn trace_import_path(
graph: &RetainedModuleGraph,
root: &Path,
from_path: &str,
to_path: &str,
) -> Result<ImportPathTrace, ImportPathEndpoint>Expand description
Trace the shortest import path between two modules.
ยงErrors
Returns the endpoint that did not resolve to exactly one module in the graph.