Skip to main content

RepoPayload

Type Alias RepoPayload 

Source
pub type RepoPayload = RepoSnapshot;
Expand description

Payload returned after successfully opening / refreshing a repository.

This is now a re-export of the shared core type so both GUI and TUI use the same struct definition.

Aliased Type§

pub struct RepoPayload {
    pub info: RepoInfo,
    pub branches: Vec<BranchInfo>,
    pub commits: Vec<CommitInfo>,
    pub graph_rows: Vec<GraphRow>,
    pub unstaged: Vec<DiffInfo>,
    pub staged: Vec<DiffInfo>,
    pub stashes: Vec<StashEntry>,
    pub remotes: Vec<RemoteInfo>,
}

Fields§

§info: RepoInfo§branches: Vec<BranchInfo>§commits: Vec<CommitInfo>§graph_rows: Vec<GraphRow>§unstaged: Vec<DiffInfo>§staged: Vec<DiffInfo>§stashes: Vec<StashEntry>§remotes: Vec<RemoteInfo>