pub fn scan_volume(drive: &str) -> Result<(VolumeIndex, ScanStats), MftError>Expand description
Full initial scan: stream the volume’s $MFT and build the in-memory
index. drive is a drive letter spec like C:.
§Errors
Returns MftError::NotElevated when the process lacks the privileges to
open the raw volume, or MftError::Ntfs if opening the volume or
reading the $MFT fails.