Skip to content

Commit c21ebc9

Browse files
committed
feat: switch back to md5
1 parent fb1d132 commit c21ebc9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/helpers.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@ let cache_dir =
2323
dirpath
2424

2525
let get_cache_file file_name cache_type =
26-
let hash = Sha256.file file_name |> Sha256.to_hex in
26+
let hash = Digest.MD5.file file_name |> Digest.to_hex in
2727

2828
cache_dir ^ hash ^ match cache_type with `TEXT -> ".txt" | `THUMB -> ".png"

0 commit comments

Comments
 (0)