Skip to main content

stat_cache_fields

Function stat_cache_fields 

Source
pub fn stat_cache_fields(meta: &Metadata) -> (u64, u64, u64, u64)
Expand description

The full stat-cache observation for meta, in index-entry field order: (mtime_ns, size, ino, ctime_ns). The single producer-side dual of stat_matches — every site that records the cache uses this so the recorded and compared field sets can never drift. ino/ctime_ns are 0 (= don’t check) on platforms without them.