Skip to main content

normalize_tree_prefix

Function normalize_tree_prefix 

Source
pub fn normalize_tree_prefix(path: Option<&str>) -> String
Expand description

Normalize a tree prefix: no leading /, and either empty or ending in /.