Skip to main content

record_attributes

Function record_attributes 

Source
pub fn record_attributes(path: &Path, tracer: &dyn Tracer) -> Attributes
Expand description

The extended attributes of path now, as a path whose attributes were read or listed records them, read through the attribute query of tracer: those of the path itself, without following a final symbolic link, and, when the path is a symbolic link, those of what it points to. Each list holds every name with a BLAKE3 hash of its value, sorted by name, or is None when the query fails, as it does when nothing is at the path; a file system without attributes has none.

A cache check reads them again the same way and compares the two.