Struct git2::AnnotatedCommit[][src]

pub struct AnnotatedCommit<'repo> { /* fields omitted */ }

A structure to represent an annotated commit, the input to merge and rebase.

An annotated commit contains information about how it was looked up, which may be useful for functions like merge or rebase to provide context to the operation.


impl<'repo> AnnotatedCommit<'repo>

Gets the commit ID that the given git_annotated_commit refers to

Trait Implementations

impl<'repo> Drop for AnnotatedCommit<'repo>

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<'repo> !Send for AnnotatedCommit<'repo>

impl<'repo> !Sync for AnnotatedCommit<'repo>