nodeUrlMod
object nodeUrlMod
class Object
trait Matchable
class Any
Value members
Concrete methods
@inline
This function ensures the correct decodings of percent-encoded characters as well as ensuring a cross-platform valid absolute path string.
This function ensures the correct decodings of percent-encoded characters as well as ensuring a cross-platform valid absolute path string.
- Value Params
- url
The file URL string or URL object to convert to a path.
@inline
def parse_false(urlStr: String, parseQueryString: `false`, slashesDenoteHost: Boolean): UrlWithStringQuery
@inline
def parse_true(urlStr: String, parseQueryString: `true`, slashesDenoteHost: Boolean): UrlWithParsedQuery
@inline
This function ensures that path is resolved absolutely, and that the URL control characters are correctly encoded when converting into a File URL.
This function ensures that path is resolved absolutely, and that the URL control characters are correctly encoded when converting into a File URL.
- Value Params
- url
The path to convert to a File URL.