Function deno_core::resolve_url
source · pub fn resolve_url(
url_str: &str
) -> Result<ModuleSpecifier, ModuleResolutionError>
Expand description
Converts a string representing an absolute URL into a ModuleSpecifier.
pub fn resolve_url(
url_str: &str
) -> Result<ModuleSpecifier, ModuleResolutionError>
Converts a string representing an absolute URL into a ModuleSpecifier.