Skip to main content

open_file

Function open_file 

Source
pub fn open_file(uri_str: &str) -> Result<Box<dyn ReadSeek>>
Expand description

Open a local file as a Box<dyn ReadSeek>. Accepts:

  • bare paths: /abs/path, rel/path, Cargo.toml
  • file:///abs/path
  • file:relative