package sihl-storage

  1. Overview
  2. Docs
val register_migration : unit -> unit
val register_cleaner : unit -> unit
val insert_file : file:Sihl_type.Storage_stored.t -> unit Lwt.t
val insert_blob : id:string -> blob:string -> unit Lwt.t
val get_file : id:string -> Sihl_type.Storage_stored.t option Lwt.t
val get_blob : id:string -> string option Lwt.t
val update_file : file:Sihl_type.Storage_stored.t -> unit Lwt.t
val update_blob : id:string -> blob:string -> unit Lwt.t
val delete_file : id:string -> unit Lwt.t
val delete_blob : id:string -> unit Lwt.t
OCaml

Innovation. Community. Security.