Skip to main content

Module scanner

Module scanner 

Source
Expand description

Directory scanning service

Recursively scans directories to find supported image files, extracts EXIF metadata, and stores everything in the database. Uses rayon for parallel hash computation and EXIF extraction.

Structs§

ScanProgress
Scan progress information
ScanReport
ScanResult
Result of a completed scan – returns the database back to the caller

Functions§

calculate_hash
Calculate SHA256 hash of a file (full streaming hash).
media_type_for_path
start_scan
Start a scan in a background task.