Skip to main content

compute_hash

Function compute_hash 

Source
pub fn compute_hash(files: &[SqlFile], parser_name: &str) -> String
Expand description

Compute SHA-256 hash of SQL files. Files are sorted by path, each path+content separated by null bytes (matching the TS implementation).