Struct git_refspec::match_group::Item
source · pub struct Item<'a> {
pub full_ref_name: &'a BStr,
pub target: &'a oid,
pub object: Option<&'a oid>,
}
Expand description
An item to match, input to various matching operations.
Fields§
§full_ref_name: &'a BStr
The full name of the references, like refs/heads/main
target: &'a oid
The id that full_ref_name
points to, which typically is a commit, but can also be a tag object (or anything else).
object: Option<&'a oid>
The object an annotated tag is pointing to, if target
is an annotated tag.