package sihl

  1. Overview
  2. Docs

Module Contract.StorageSource

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

Innovation. Community. Security.