Skip to main content

is_writable

Function is_writable 

Source
pub fn is_writable(dir: &Path) -> bool
Expand description

Returns true if dir exists and is writable (or can be created).

Uses tempfile::tempfile_in so no named probe file is left on disk, even if the process is killed during the check.