Struct libpijul::Branch [] [src]

pub struct Branch {
    pub db: Db<UnsafeKey, UnsafeEdge>,
    pub patches: Db<UnsafePatchId, ApplyTimestamp>,
    pub revpatches: Db<ApplyTimestamp, UnsafePatchId>,
    pub apply_counter: u64,
    pub name: SmallString,
}

The representation of a branch. The "application number" of a patch on a branch is the state of the application counter at the time the patch has been applied to that branch.

Fields

The table containing the branch graph.

The map of all patches applied to that branch, ordered by patch hash.

The map of all patches applied to that branch, ordered by application number.

The number of patches that have been applied on that branch, including patches that are no longer on the branch (i.e. that have been unrecorded).

Branch name.

Trait Implementations

impl Debug for Branch
[src]

Formats the value using the given formatter.