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 to its storage form: no leading /, and either empty or ending in / (either path form is accepted).