package sihl

  1. Overview
  2. Docs
type file = {
  1. id : string;
  2. filename : string;
  3. filesize : int;
  4. mime : string;
}
type stored = {
  1. file : file;
  2. blob : string;
}
val name : string
exception Exception of string
module type Sig = sig ... end
val file_to_sexp : file -> Sexplib0.Sexp.t
val pp_file : Format.formatter -> file -> unit
val set_mime : string -> file -> file
val set_filesize : int -> file -> file
val set_filename : string -> file -> file
val set_mime_stored : string -> stored -> stored
val set_filesize_stored : int -> stored -> stored
val set_filename_stored : string -> stored -> stored
val stored_to_sexp : stored -> Sexplib0.Sexp.t
val pp_stored : Format.formatter -> stored -> unit
OCaml

Innovation. Community. Security.