package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. id : string;
  2. filename : string;
  3. filesize : int;
  4. mime : string;
}
val mime : t -> string
val filesize : t -> int
val filename : t -> string
val id : t -> string
module Fields : sig ... end
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val _ : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val equal : t -> t -> Ppx_deriving_runtime.bool
val make : id:string -> filename:string -> filesize:int -> mime:string -> t
val set_mime : string -> t -> t
val set_filesize : int -> t -> t
val set_filename : string -> t -> t
OCaml

Innovation. Community. Security.