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§
Sourcefn tip_commit(&self) -> Option<Commit<'_>>
fn tip_commit(&self) -> Option<Commit<'_>>
Gets the Commit
at the tip of this Branch
.