Expand description
The URL crate parses file://
URLs differently on Windows and other operating systems.
This crates provides functionality that tries to parse a file://
URL as a path on all operating
systems. This is useful when you want to convert a file://
URL to a path and vice versa.
Enums§
Functions§
- directory_
path_ to_ url - file_
path_ to_ url - is_
windows_ drive_ letter - Whether the scheme is file:, the path has a single segment, and that segment is a Windows drive letter
- url_
to_ path - Tries to convert a
file://
based URL to a path. - url_
to_ typed_ path - Tries to convert a
file://
based URL to a path.