candle.file_utils.validate_file#
- candle.file_utils.validate_file(fpath, md5_hash)#
Validates a file against a MD5 hash.
- Parameters:
fpath (string) – path to the file being validated
md5_hash (string) – the MD5 hash being validated against
- Returns:
Whether the file is valid
- Return type:
boolean