Skip to main content

is_plan_file_path

Function is_plan_file_path 

Source
pub fn is_plan_file_path(workdir: &Path, raw: &str, plan_file: &Path) -> bool
Expand description

True when raw (a tool-supplied path, absolute or workdir-relative) names the plan file. Lexical normalization only — the plan file may not exist yet (the first write creates it), so canonicalize is not an option, and ../. components must not smuggle a different file past the exemption.