We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb1d132 commit c21ebc9Copy full SHA for c21ebc9
lib/helpers.ml
@@ -23,6 +23,6 @@ let cache_dir =
23
dirpath
24
25
let get_cache_file file_name cache_type =
26
- let hash = Sha256.file file_name |> Sha256.to_hex in
+ let hash = Digest.MD5.file file_name |> Digest.to_hex in
27
28
cache_dir ^ hash ^ match cache_type with `TEXT -> ".txt" | `THUMB -> ".png"
0 commit comments