-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: allow closed file handles in calc_sha256sum
Since we tend to allow filenames and file handles interchangably in this code base, we might run into the edge case of a closed file handle being input to calc_sha256sum. We should then open the file before getting the hash.
- Loading branch information
1 parent
8bcee7b
commit a84bf52
Showing
2 changed files
with
16 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters