Skip to main content

check_writable

Function check_writable 

Source
pub fn check_writable(target: &Path) -> Result<(), RkError>
Expand description

Refuse a configuration path that does not lead straight into the target.

A symlinked directory or file would carry a write out of the target, and a directory or file of another kind stands in its way.

ยงErrors

A state-drift refusal naming the path.