Expand description
Drift detection — classify the relationship between a source file/dir and its target counterpart.
Used by:
yui status(display the classification)yui apply(decide what to do: skip / relink / auto-absorb / ask)
§Decision matrix
| target state | classify result |
|---|---|
| resolves to the same inode/file-id as source | InSync |
| different inode but identical content | RelinkOnly |
| different + content differs + target.mtime > source’s | AutoAbsorb |
| different + content differs + source.mtime ≥ target’s | NeedsConfirm |
| target missing | Restore |
“Same inode” is computed via the same-file crate, which transparently
follows symlinks, hardlinks, and junctions on Windows.