pub struct LineStats {
pub staged: Numstat,
pub unstaged: Numstat,
pub untracked: Numstat,
pub checkouts: HashMap<String, String>,
}Expand description
Line counts per group, keyed by repo-relative path. Missing entries show no stat.
Fields§
§staged: Numstat§unstaged: Numstat§untracked: Numstat§checkouts: HashMap<String, String>Checked-out commit per submodule path (from git submodule status), when known.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LineStats
impl RefUnwindSafe for LineStats
impl Send for LineStats
impl Sync for LineStats
impl Unpin for LineStats
impl UnsafeUnpin for LineStats
impl UnwindSafe for LineStats
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more