Skip to content

Commit 5b93016

Browse files
committed
Support OCaml 5
Use latest gapi-ocaml version
1 parent 84c84d6 commit 5b93016

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/dune

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
(name google_drive_ocamlfuse)
33
(wrapped false)
44
(flags :standard -w -3-27-32-58)
5-
(libraries cryptokit extlib gapi-ocaml ocamlfuse sqlite3 threads camlidl tiny_httpd))
5+
(libraries cryptokit extlib gapi-ocaml gapi-ocaml.netsys-local ocamlfuse
6+
sqlite3 threads camlidl tiny_httpd))

src/mime.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ open GapiUtils.Infix
22

33
let map_filename_to_mime_type filename =
44
let extension =
5-
try GapiUtils.string_after_char '.' filename |> String.lowercase
5+
try GapiUtils.string_after_char '.' filename |> String.lowercase_ascii
66
with Not_found -> ""
77
in
88
match extension with

0 commit comments

Comments
 (0)