pub fn resolve_part_path(base_part_name: &str, target: &str) -> String
Mirrors TypeScript resolvePartPath.
resolvePartPath