pub trait StoreRead {
// Required methods
fn read_file(&self, relative: &str) -> Result<Option<String>, CoreError>;
fn list_files(&self, dir: &str) -> Result<Vec<String>, CoreError>;
}Expand description
Read access to store files: the working tree (Store), the working
tree plus staged changes (Transaction) or a past commit
(Revision).
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".