We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Reference::peeled
1 parent fb81093 commit 266c9fcCopy full SHA for 266c9fc
gix-ref/src/raw.rs
@@ -10,7 +10,9 @@ pub struct Reference {
10
pub name: FullName,
11
/// The target of the reference, either a symbolic reference by full name or a possibly intermediate object by its id.
12
pub target: Target,
13
- /// The fully peeled object to which this reference ultimately points to. Only guaranteed to be set after `peel_to_id_in_place()` was called.
+ /// The fully peeled object to which this reference ultimately points to. Only guaranteed to be set after
14
+ /// [`Reference::peel_to_id_in_place()`](crate::file::ReferenceExt) was called or if this reference originated
15
+ /// from a packed ref.
16
pub peeled: Option<ObjectId>,
17
}
18
0 commit comments