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