MCPcopy Create free account
hub / github.com/numpy/numpy / compute_sha256

Function compute_sha256

pavement.py:154–165  ·  view source on GitHub ↗

Compute sha256 hash of files in idirs. Parameters ---------- idirs : directory path Directory containing files to be hashed.

(idirs)

Source from the content-addressed store, hash-verified

152
153
154def compute_sha256(idirs):
155 """Compute sha256 hash of files in idirs.
156
157 Parameters
158 ----------
159 idirs : directory path
160 Directory containing files to be hashed.
161
162 """
163 # better checksum so gpg signed README.rst containing the sums can be used
164 # to verify the binaries instead of signing all binaries
165 return _compute_hash(idirs, hashlib.sha256)
166
167
168def write_release_task(options, filename='README'):

Callers 1

write_release_taskFunction · 0.85

Calls 1

_compute_hashFunction · 0.85

Tested by

no test coverage detected