Skip to main content

open_regular_for_create

Function open_regular_for_create 

Source
pub fn open_regular_for_create(path: &Path) -> Result<File, RestrictedOpenError>
Expand description

Create or truncate a regular file, with the same restrictions as open_regular_for_append.