Skip to main content

normalize_paste_path

Function normalize_paste_path 

Source
pub fn normalize_paste_path(s: &str) -> Option<String>
Expand description

Normalizes pasted text that may be a file path or file:// URL into a path string. Returns None if the input does not look like a valid path.