pub fn normalize_mapped_path(
path: &Path,
working_dir: &Path,
mappings: &[PathMapping],
) -> Result<String, BypassReason>Expand description
Map an absolute path to its cache-key placeholder form.
mappings must already be ordered by PathMapping::ordered. Exposed for
callers that need the placeholder text before an action exists – notably to
build the --remap-path-prefix flag that makes a compilation independent of
a path in its environment.