Skip to main content

split_download_path

Function split_download_path 

Source
pub fn split_download_path(path: &str) -> Option<(&str, &str, &str)>
Expand description

Takes a game/directory/name apart, the inverse of PackageInfo::download_path; only the first two / separate, since the name is itself a path. None unless every part is valid.