package sihl-type

  1. Overview
  2. Docs

Module Sihl_type.Storage_fileSource

Sourcetype t = {
  1. id : string;
  2. filename : string;
  3. filesize : int;
  4. mime : string;
}
Sourceval mime : t -> string
Sourceval filesize : t -> int
Sourceval filename : t -> string
Sourceval id : t -> string
Sourcemodule Fields : sig ... end
Sourceval to_yojson : t -> Yojson.Safe.t
Sourceval make : id:string -> filename:string -> filesize:int -> mime:string -> t
Sourceval set_mime : string -> t -> t
Sourceval set_filesize : int -> t -> t
Sourceval set_filename : string -> t -> t
OCaml

Innovation. Community. Security.