Skip to main content

resolve

Function resolve 

Source
pub fn resolve(spec: &str, from_dir: &Path) -> Option<PathBuf>
Expand description

Resolve spec relative to from_dir to an absolute file path, or None if no file matches (core modules are handled earlier, by the caller).