Skip to content

Commit 66b82a1

Browse files
committed
Update docstring
1 parent eed9e27 commit 66b82a1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

easybuild/tools/filetools.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1247,7 +1247,11 @@ def verify_checksum(path, checksums, computed_checksums=None):
12471247
Verify checksum of specified file.
12481248
12491249
:param path: path of file to verify checksum of
1250-
:param checksums: checksum values (and type, optionally, default is MD5), e.g., 'af314', ('sha', '5ec1b')
1250+
:param checksums: checksum values to compare to
1251+
(and type, optionally, default is MD5), e.g., 'af314', ('sha', '5ec1b')
1252+
:param computed_checksums: Optional dictionary of (current) checksum(s) for this file
1253+
indexed by the checksum type (e.g. 'sha256').
1254+
Each existing entry will be used, missing ones will be computed.
12511255
"""
12521256

12531257
filename = os.path.basename(path)

0 commit comments

Comments
 (0)