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

Functions§

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