Skip to main content

uri_to_path

Function uri_to_path 

Source
pub fn uri_to_path(uri: &str) -> Result<&str, String>
Expand description

Extracts the path component from a Cloudreve URI

§Arguments

  • uri - Cloudreve URI string

§Returns

The path component, or an error if the URI is invalid