Struct git2::Revspec [−][src]
pub struct Revspec<'repo> { /* fields omitted */ }
Expand description
A revspec represents a range of revisions within a repository.
Implementations
pub fn from_objects(
from: Option<Object<'repo>>,
to: Option<Object<'repo>>,
mode: RevparseMode
) -> Revspec<'repo>
pub fn from_objects(
from: Option<Object<'repo>>,
to: Option<Object<'repo>>,
mode: RevparseMode
) -> Revspec<'repo>
Assembles a new revspec from the from/to components.
Returns the intent of the revspec.