Skip to main content

create_new

Function create_new 

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

Create a new file without replacing an existing entry.

ยงErrors

Returns a contextual error when the file exists or cannot be created.