package sihl-storage

  1. Overview
  2. Docs
Storage service implementations for Sihl

Install

dune-project
 Dependency

Authors

Maintainers

Sources

0.5.0.tar.gz
md5=efe50e8f7c33f76810c6312f13a54a2a
sha512=6f3a6a6abbcce2d3569e83cfd564ed9a964efa7665956cb355b3ff85d0ce6eb80eba8ae9876d71c5e2f0ce070933e7233117c356601387dbaeccd5778a5cb289

doc/sihl-storage/Sihl_storage/Make/argument-1-Repo/index.html

Parameter Make.Repo

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