pub fn compute_file_hash(file: &DiffFile) -> u64
Compute a stable hash of a file’s diff content (hunk headers + line types + line content). Used to detect whether a file’s diff has changed between refreshes.