Skip to main content

strip_file_uri

Function strip_file_uri 

Source
pub fn strip_file_uri(input: &str) -> &str
Expand description

Strip a leading file:// or file:/// scheme. Handles the file://localhost/... form by removing the host segment.