1
0
mirror of https://github.com/facebook/zstd.git synced 2025-07-29 11:21:22 +03:00

Convert references to https from http

This commit is contained in:
Danielle Rozenblit
2022-12-14 06:58:35 -08:00
parent dc39409a03
commit 4dffc35f2e
57 changed files with 153 additions and 155 deletions

View File

@ -126,7 +126,7 @@ def compress_sample(tag, sample):
print(tag + " : compression completed")
# http://stackoverflow.com/a/19711609/2132223
# https://stackoverflow.com/a/19711609/2132223
def sha1_of_file(filepath):
with open(filepath, 'rb') as f:
return hashlib.sha1(f.read()).hexdigest()