pub fn scan_entry(
path: &Path,
config: &ScanConfig,
token: CancellationToken,
) -> Result<Option<ScannedEntry>, ScanError>Expand description
Scan the entry at path as config measures it: a directory with
everything below it, or anything else on its own. None if path no
longer exists. config.root is ignored.
Hard links are counted once within the entry; links shared with the rest of a tree it is grafted into are not known here.