Function normalize_mtree_path

Source
fn normalize_mtree_path(path: &Path) -> Result<&Path, Error>
Expand description

Normalizes a std::path::Path by stripping the prefix MTREE_PATH_PREFIX.

ยงErrors

Returns an alpm_common::Error if the prefix can not be stripped.