[−][src]Struct gitstatusd::GitDetails
Details about git state.
Note: Renamed files are reported as deleted plus new.
Fields
abspath: String
Absolute path to the git repository workdir.
head_commit_hash: String
Commit hash that HEAD is pointing to. 40 hex digits.
local_branch: String
Local branch name or empty if not on a branch.
upstream_branch: String
Upstream branch name. Can be empty.
remote_name: String
The remote name, e.g. "upstream" or "origin".
remote_url: String
Remote URL. Can be empty.
repository_state: String
Repository state, A.K.A. action. Can be empty.
num_files_in_index: u32
The number of files in the index.
num_staged_changes: u32
The number of staged changes.
num_unstaged_changes: u32
The number of unstaged changes.
num_conflicted_changes: u32
The number of conflicted changes.
num_untrached_files: u32
The number of untracked files.
commits_ahead: u32
Number of commits the current branch is ahead of upstream.
commits_behind: u32
Number of commits the current branch is behind upstream.
num_stashes: u32
The number of stashes.
last_tag: String
The last tag (in lexicographical order) that points to the same commit as HEAD.
num_unstaged_deleted: u32
The number of unstaged deleted files.
num_staged_new: u32
The number of staged new files.
num_staged_deleted: u32
The number of staged deleted files.
push_remote_name: String
The push remote name, e.g. "upstream" or "origin".
push_remote_url: String
Push remote URL. Can be empty.
commits_ahead_push_remote: u32
Number of commits the current branch is ahead of push remote.
commits_behind_push_remote: u32
Number of commits the current branch is behind push remote.
num_index_skip_worktree: u32
Number of files in the index with skip-worktree bit set.
num_index_assume_unchanged: u32
Number of files in the index with assume-unchanged bit set.
Trait Implementations
impl Debug for GitDetails
[src]
impl PartialEq<GitDetails> for GitDetails
[src]
fn eq(&self, other: &GitDetails) -> bool
[src]
fn ne(&self, other: &GitDetails) -> bool
[src]
impl StructuralPartialEq for GitDetails
[src]
Auto Trait Implementations
impl RefUnwindSafe for GitDetails
impl Send for GitDetails
impl Sync for GitDetails
impl Unpin for GitDetails
impl UnwindSafe for GitDetails
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,