Skip to main content

reference_path

Function reference_path 

Source
pub fn reference_path(path: &str) -> String
Expand description

The reference (surface) form of a storage path: exactly one leading /. "" (the repo root, docs_tree’s prefix) becomes /.