pub fn calculate_sha(repository_file: &PathBuf) -> Result<String>
Calculates the SHA hash for a given repository file path