Trait BranchExt

Source
pub trait BranchExt {
    // Required method
    fn tip_commit(&self) -> Option<Commit<'_>>;
}
Expand description

A set of extension methods for the Branch type in git2.

Required Methods§

Source

fn tip_commit(&self) -> Option<Commit<'_>>

Gets the Commit at the tip of this Branch.

Implementations on Foreign Types§

Source§

impl<'repo> BranchExt for Branch<'repo>

Source§

fn tip_commit(&self) -> Option<Commit<'_>>

Implementors§