Skip to main content

set_path_read_only

Function set_path_read_only 

Source
pub fn set_path_read_only(path: &Path) -> Result<(), Error>
Expand description

Recursively sets a directory and its contents to be read-only.

ยงErrors

Returns an error if the permission change fails.