You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// A git commit parsed using [`from_bytes()`][CommitRef::from_bytes()].
77
+
/// A git commit parsed using [`from_bytes()`](CommitRef::from_bytes()).
78
78
///
79
79
/// A commit encapsulates information about a point in time at which the state of the repository is recorded, usually after a
80
80
/// change which is documented in the commit `message`.
@@ -83,18 +83,18 @@ pub struct Blob {
83
83
pubstructCommitRef<'a>{
84
84
/// HEX hash of tree object we point to. Usually 40 bytes long.
85
85
///
86
-
/// Use [`tree()`][CommitRef::tree()] to obtain a decoded version of it.
86
+
/// Use [`tree()`](CommitRef::tree()) to obtain a decoded version of it.
87
87
#[cfg_attr(feature = "serde", serde(borrow))]
88
88
pubtree:&'aBStr,
89
89
/// HEX hash of each parent commit. Empty for first commit in repository.
90
90
pubparents:SmallVec<[&'aBStr;1]>,
91
91
/// Who wrote this commit. Name and email might contain whitespace and are not trimmed to ensure round-tripping.
92
92
///
93
-
/// Use the [`author()`][CommitRef::author()] method to received a trimmed version of it.
93
+
/// Use the [`author()`](CommitRef::author()) method to received a trimmed version of it.
94
94
pubauthor: gix_actor::SignatureRef<'a>,
95
95
/// Who committed this commit. Name and email might contain whitespace and are not trimmed to ensure round-tripping.
96
96
///
97
-
/// Use the [`committer()`][CommitRef::committer()] method to received a trimmed version of it.
97
+
/// Use the [`committer()`](CommitRef::committer()) method to received a trimmed version of it.
98
98
///
99
99
/// This may be different from the `author` in case the author couldn't write to the repository themselves and
100
100
/// is commonly encountered with contributed commits.
@@ -103,7 +103,7 @@ pub struct CommitRef<'a> {
103
103
pubencoding:Option<&'aBStr>,
104
104
/// The commit message documenting the change.
105
105
pubmessage:&'aBStr,
106
-
/// Extra header fields, in order of them being encountered, made accessible with the iterator returned by [`extra_headers()`][CommitRef::extra_headers()].
106
+
/// Extra header fields, in order of them being encountered, made accessible with the iterator returned by [`extra_headers()`](CommitRef::extra_headers()).
107
107
pubextra_headers:Vec<(&'aBStr,Cow<'a,BStr>)>,
108
108
}
109
109
@@ -135,15 +135,15 @@ pub struct Commit {
135
135
/// The commit message documenting the change.
136
136
pubmessage:BString,
137
137
/// Extra header fields, in order of them being encountered, made accessible with the iterator returned
138
-
/// by [`extra_headers()`][Commit::extra_headers()].
138
+
/// by [`extra_headers()`](Commit::extra_headers()).
139
139
pubextra_headers:Vec<(BString,BString)>,
140
140
}
141
141
142
142
/// Represents a git tag, commonly indicating a software release.
0 commit comments