Skip to main content

IndexReader

Trait IndexReader 

Source
pub trait IndexReader {
    // Required method
    fn index_entry(&self, path: &str) -> AppResult<Option<IndexEntry>>;
}
Expand description

Read access to git index entries.

Required Methods§

Source

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".

Implementors§