Skip to main content

validate_plan_zone_path

Function validate_plan_zone_path 

Source
pub fn validate_plan_zone_path(path: &Utf8Path) -> Result<(), DeclaredPathError>
Expand description

Whether a recorded plan-zone path is one a gate can resolve.

The same check the argument runs. A record reaches a reinstall through a permissive read, so without this a hand-edited value is carried forward and only the post-write verification catches it.

ยงErrors

DeclaredPathError for a path that is empty, absolute, or leaves the repository.