pub struct StatusEntry<'statuses> { /* private fields */ }
Expand description

A structure representing an entry in the Statuses structure.

Instances are created through the .iter() method or the .get() method.

Implementations

Access the bytes for this entry’s corresponding pathname

Access this entry’s path name as a string.

Returns None if the path is not valid utf-8.

Access the status flags for this file

Access detailed information about the differences between the file in HEAD and the file in the index.

Access detailed information about the differences between the file in the index and the file in the working directory.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.