package sihl-storage

  1. Overview
  2. Docs
Storage service implementations for Sihl

Install

Dune Dependency

Authors

Maintainers

Sources

3.0.0.tar.gz
md5=3ceaa839d4d9480011761257aedf2f22
sha512=6b44bb6f67b1933a7b74fff8488d3cc6c9a7360fa99b3aeae9158e2887dbc44c1b215d8cffb6cc082cc88a0ffa576b2d9ebdd21850f2a19656aedbe4c0fe2c59

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
OCaml

Innovation. Community. Security.