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/index.html

Module Sihl_storageSource

include module type of struct include Sihl.Contract.Storage end
Sourcetype file = {
  1. id : string;
  2. filename : string;
  3. filesize : int;
  4. mime : string;
}
Sourcetype stored = {
  1. file : file;
  2. blob : string;
}
Sourceval name : string
Sourceexception Exception of string
Sourceval file_to_sexp : file -> Sexplib0.Sexp.t
Sourceval pp_file : Format.formatter -> file -> unit
Sourceval set_mime : string -> file -> file
Sourceval set_filesize : int -> file -> file
Sourceval set_filename : string -> file -> file
Sourceval set_mime_stored : string -> stored -> stored
Sourceval set_filesize_stored : int -> stored -> stored
Sourceval set_filename_stored : string -> stored -> stored
Sourceval stored_to_sexp : stored -> Sexplib0.Sexp.t
Sourceval pp_stored : Format.formatter -> stored -> unit
Sourceval log_src : Logs.src
Sourcemodule Logs : Logs.LOG
Sourcemodule Make (Repo : sig ... end) : Sihl.Contract.Storage.Sig