package sihl

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t = {
  1. file : Sihl_storage_core__.Model.File.t;
  2. blob : string;
}
val blob : t -> string
val file : t -> Sihl_storage_core__.Model.File.t
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 : file:Sihl_storage_core__.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.