pub trait FileLoader {
    fn file_exists(&self, path: &Path) -> bool;
    fn read_file(&self, path: &Path) -> Result<String>;
}
Expand description

An abstraction over the fs operations used by the Parser.

Required methods

Query the existence of a file.

Read the contents of a UTF-8 file into memory.

Implementors