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.
fn normalize_mtree_path(path: &Path) -> Result<&Path, Error>
Normalizes a std::path::Path
by stripping the prefix MTREE_PATH_PREFIX
.
Returns an alpm_common::Error
if the prefix can not be stripped.