normalize_repo_path

Function normalize_repo_path 

Source
pub fn normalize_repo_path(root: &Path, path: &Path) -> CoreResult<String>
Expand description

Convert an absolute path into a stable repository-relative slash path.

ยงErrors

Returns an error when path is outside root or cannot be represented as UTF-8.