Function nvim_gtk::misc::decode_uri [−][src]
pub fn decode_uri(uri: &str) -> Option<String>
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