pub fn changed_after_read(
observations: &[Observation],
first_reads: &FirstReads,
) -> Vec<ChangedRead>Expand description
The files that changed during a run after the command first read them or ran
them, sorted by path: each path in first_reads whose recorded state in
observations, following a final symbolic link, is not a regular file with the
noted device, inode, size, modification and change times, mode, and owner.
No file, another type, and an inaccessible path are changes too. Each says
whether the command wrote the path, as its access kinds show.
A path that no observation holds, because an ignore pattern matched it, is not
compared, and neither is a path under /proc or /sys, or one that symbolic
links lead there, tracked or not.