package sihl-type

  1. Overview
  2. Docs

Module Sihl_type.Storage_storedSource

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