Skip to content

Commit

Permalink
Support OCaml 5
Browse files Browse the repository at this point in the history
Use latest gapi-ocaml version
  • Loading branch information
astrada committed Nov 4, 2023
1 parent 84c84d6 commit 5b93016
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/dune
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
(name google_drive_ocamlfuse)
(wrapped false)
(flags :standard -w -3-27-32-58)
(libraries cryptokit extlib gapi-ocaml ocamlfuse sqlite3 threads camlidl tiny_httpd))
(libraries cryptokit extlib gapi-ocaml gapi-ocaml.netsys-local ocamlfuse
sqlite3 threads camlidl tiny_httpd))
2 changes: 1 addition & 1 deletion src/mime.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ open GapiUtils.Infix

let map_filename_to_mime_type filename =
let extension =
try GapiUtils.string_after_char '.' filename |> String.lowercase
try GapiUtils.string_after_char '.' filename |> String.lowercase_ascii
with Not_found -> ""
in
match extension with
Expand Down

0 comments on commit 5b93016

Please sign in to comment.