package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. file : Sihl__.Storage_model.File.t;
  2. blob : string;
}
val blob : t -> string
val file : t -> Sihl__.Storage_model.File.t
module Fields : sig ... end
val to_yojson : t -> Yojson.Safe.t
val equal : t -> t -> Ppx_deriving_runtime.bool
val make : file:Sihl__.Storage_model.File.t -> blob:string -> t
val mime : t -> string
val filesize : t -> int
val filename : t -> string
val set_mime : string -> t -> t
val set_filesize : int -> t -> t
val set_filename : string -> t -> t
OCaml

Innovation. Community. Security.