Expand description
Directory traversal and parallel file reading.
The scan is incremental: a file whose path, size and modification date have not changed is not read again, its tags are taken from the previous catalog. On a library of 50,000 titles, that is the difference between several minutes and a few seconds.
Structs§
- Scan
Options - Knobs governing a traversal.
Defaultgives the settings suited to a personal library: automatic parallelism, no symlink following, hidden entries left alone. - Scan
Report - Summary of a scan.
Enums§
- Progress
- Progress event, for display.
Functions§
- cover_
in - The image already serving as cover art in a folder, if there is one.
- resolve_
threads - How many threads a run should use: what was asked for, or what the machine offers.
- scan
- Scans the given folders and builds a catalog.