Struct git2::Statuses [] [src]

pub struct Statuses<'repo> { /* fields omitted */ }

A container for a list of status information about a repository.

Each instances appears as a if it were a collection, having a length and allowing indexing as well as provding an iterator.

Methods

impl<'repo> Statuses<'repo>
[src]

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 (at least according the options given when the status list was created), this can return 0.

Returns an iterator over the statuses in this list.

Trait Implementations

impl<'repo> Drop for Statuses<'repo>
[src]

A method called when the value goes out of scope. Read more