Get Started
Advanced Materials
API Reference
check_sha1
Notes
Misc
Bases:
Check whether the sha1 hash of the file content matches the expected hash.
Codes borrowed from mxnet/gluon/utils.py
filename (str) β Path to the file.
sha1_hash (str) β Expected sha1 hash in hexadecimal digits.
Whether the file content matches the expected hash.
bool