pub fn validate_internal_path(path: &str) -> Result<String>
Validate and normalize a package-internal path.