Skip to main content

fingerprint_dict_pair

Function fingerprint_dict_pair 

Source
fn fingerprint_dict_pair(index_path: &Path) -> Result<Fp>
Expand description

Fingerprints a StarDict dictionary pair by hashing only the .index file.

The .index and .dict files in a StarDict pair are always installed and replaced together, so hashing the .index alone is sufficient to detect any change to either file.