package sihl-storage

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Repository.Sig.REPO
val register_migration : unit -> unit
val register_cleaner : unit -> unit
val insert_file : Core.Ctx.t -> file:Storage__.Model.StoredFile.t -> unit Lwt.t
val insert_blob : Core.Ctx.t -> id:string -> blob:string -> unit Lwt.t
val get_file : Core.Ctx.t -> id:string -> Storage__.Model.StoredFile.t option Lwt.t
val get_blob : Core.Ctx.t -> id:string -> string option Lwt.t
val update_file : Core.Ctx.t -> file:Storage__.Model.StoredFile.t -> unit Lwt.t
val update_blob : Core.Ctx.t -> id:string -> blob:string -> unit Lwt.t
val delete_file : Core.Ctx.t -> id:string -> unit Lwt.t
val delete_blob : Core.Ctx.t -> id:string -> unit Lwt.t
OCaml

Innovation. Community. Security.