pub fn scan_volume_reference(
drive: &str,
) -> Result<(VolumeIndex, ScanStats), MftError>Expand description
Full initial scan: read 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.