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.
1 parent 4736b60 commit 1e19760Copy full SHA for 1e19760
gix-index/src/entry/stat.rs
@@ -27,7 +27,12 @@ impl Stat {
27
}
28
29
30
- /// Compares stat information given a set of git setting
+ /// Compares the stat information of two index entries. Intuitively this is
31
+ /// basically equivalent to `self == other`. However there a lot of nobs in
32
+ /// git that tweak whether certain stat information is used when checking
33
+ /// equality, see [`gix_index::entry::stat::Options`]. This function
34
+ /// respects those options while performing the stat comparison (and may
35
+ /// therefore ignore some fields)
36
pub fn matches(
37
&self,
38
other: &Self,
0 commit comments