Struct git2::Statuses [−][src]
pub struct Statuses<'repo> { /* fields omitted */ }
Expand description
A container for a list of status information about a repository.
Each instance appears as if it were a collection, having a length and allowing indexing, as well as providing an iterator.
Implementations
Gets a status entry from this list at the specified index.
Returns None
if the index is out of bounds.
Gets the count of status entries in this list.
If there are no changes in status (according to the options given when the status list was created), this should return 0.
pub fn iter(&self) -> StatusIter<'_>ⓘNotable traits for StatusIter<'a>impl<'a> Iterator for StatusIter<'a> type Item = StatusEntry<'a>;
pub fn iter(&self) -> StatusIter<'_>ⓘNotable traits for StatusIter<'a>impl<'a> Iterator for StatusIter<'a> type Item = StatusEntry<'a>;
Notable traits for StatusIter<'a>
impl<'a> Iterator for StatusIter<'a> type Item = StatusEntry<'a>;
Returns an iterator over the statuses in this list.