summaryrefslogtreecommitdiff
path: root/src/checksum.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/checksum.rs')
-rw-r--r--src/checksum.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/checksum.rs b/src/checksum.rs
index 4f61a33c..ed84169b 100644
--- a/src/checksum.rs
+++ b/src/checksum.rs
@@ -25,7 +25,7 @@ pub(crate) fn verify_sha256(path: &Path, expected: &str) -> io::Result<()> {
Ok(())
}
-fn file_sha256(path: &Path) -> io::Result<String> {
+pub(crate) fn file_sha256(path: &Path) -> io::Result<String> {
let mut file = File::open(path)?;
let mut hasher = Sha256::new();
let mut buffer = [0u8; 64 * 1024];