package sihl

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