pub trait IndexReader {
// Required method
fn index_entry(&self, path: &str) -> AppResult<Option<IndexEntry>>;
}Expand description
Read access to git index entries.
Required Methods§
Sourcefn index_entry(&self, path: &str) -> AppResult<Option<IndexEntry>>
fn index_entry(&self, path: &str) -> AppResult<Option<IndexEntry>>
Returns the index entry for path, if the path is present in the index.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".