From 8e3c45ff1f9e4026bc81710fbd92ef5f1399b514 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Tue, 20 Aug 2024 11:09:51 +0200 Subject: [PATCH] better name for input parameter --- src/cfdppy/filestore.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/cfdppy/filestore.py b/src/cfdppy/filestore.py index 4f980f5..c8c980c 100644 --- a/src/cfdppy/filestore.py +++ b/src/cfdppy/filestore.py @@ -111,7 +111,7 @@ def calculate_checksum( self, checksum_type: ChecksumType, file_path: Path, - file_sz: int, + size_to_verify: int, segment_len: int = 4096, ) -> bytes: pass @@ -121,11 +121,11 @@ def verify_checksum( checksum: bytes, checksum_type: ChecksumType, file_path: Path, - file_sz: int, + size_to_verify: int, segment_len: int = 4096, ) -> bool: return ( - self.calculate_checksum(checksum_type, file_path, file_sz, segment_len) + self.calculate_checksum(checksum_type, file_path, size_to_verify, segment_len) == checksum )