package sihl-storage

  1. Overview
  2. Docs

Parameters

Signature

val register_migration : unit -> unit
val register_cleaner : unit -> unit
val insert_file : file:StoredFile.t -> unit Lwt.t
val insert_blob : id:string -> blob:string -> unit Lwt.t
val get_file : id:string -> StoredFile.t option Lwt.t
val get_blob : id:string -> string option Lwt.t
val update_file : file:StoredFile.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.