Function tremor_common::file::set_current_dir[][src]

pub fn set_current_dir<S>(path: &S) -> Result<(), Error> where
    S: AsRef<Path>, 
Expand description

A wrapper around File::create that will give a better error (including the filename)

Errors

  • if the file couldn’t be created