Struct git_ref::packed::Reference [−][src]
pub struct Reference<'a> {
pub name: FullNameRef<'a>,
pub target: &'a BStr,
pub object: Option<&'a BStr>,
}
Expand description
A reference as parsed from the packed-refs
file
Fields
name: FullNameRef<'a>
The validated full name of the reference.
target: &'a BStr
The target object id of the reference, hex encoded.
object: Option<&'a BStr>
The fully peeled object id, hex encoded, that the ref is ultimately pointing to i.e. when all indirections are removed.