Function tremor_common::file::create [−][src]
pub fn create<S: ?Sized>(path: &S) -> Result<File, Error> where
S: AsRef<Path>,
A wrapper around File::create
that will give a better error (including the filename)
Errors
- if the file couldn't be created