Function decode_uri

Source
pub fn decode_uri(uri: &str) -> Option<String>
Expand description

Decode a file URI.

  • On UNIX: file:///path/to/a%20file.ext -> /path/to/a file.ext
  • On Windows: file:///C:/path/to/a%20file.ext -> C:\path\to\a file.ext