pub fn scan(root: &Path) -> Result<Snapshot, ScanError>
Scans a root.
ScanError if the root can’t be resolved, an entry can’t be read, or a path isn’t UTF-8.
ScanError