Function deno_core::resolve_path
source · pub fn resolve_path(
path_str: &str
) -> Result<ModuleSpecifier, ModuleResolutionError>
Expand description
Converts a string representing a relative or absolute path into a ModuleSpecifier. A relative path is considered relative to the current working directory.