Trait okane_core::load::FileSystem
source · pub trait FileSystem {
// Required methods
fn canonicalize_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>;
fn file_content_utf8<P: AsRef<Path>>(
&self,
path: P,
) -> Result<String, Error>;
}Required Methods§
sourcefn canonicalize_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>
fn canonicalize_path<'a>(&self, path: &'a Path) -> Cow<'a, Path>
canonicalize the given path.
Object Safety§
This trait is not object safe.