[−][src]Function tremor_common::file::canonicalize
pub fn canonicalize<S: ?Sized>(path: &S) -> Result<PathBuf, 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