package sherlodoc

  1. Overview
  2. Docs
Search engine for OCaml documentation

Install

dune-project
 Dependency

Authors

Maintainers

Sources

odoc-3.2.1.tbz
sha256=d45eb125514839fd9ac27702bb4938d1b4f3b6978e9b16ab9673ea067245affc
sha512=3555386b4770a7caa8ec903683bde5ecdc41d5e57ffaee617d5da225c747bbd1e9c1d2677f4df97e96bbdfc69f580ea83b1b92b933ea40a436a658788b677bbc

doc/src/sherlodoc.db_store/db_store.ml.html

Source file db_store.ml

1
2
3
4
5
6
7
8
9
10
11
12
13
# 1 "sherlodoc/store/db_store.default.ml"
type db_format =
  [ `ancient
  | `marshal
  | `js
  ]

let available_backends = [ "marshal", `marshal; "js", `js ]

let storage_module = function
  | `marshal -> (module Storage_marshal : Db.Storage.S)
  | `js -> (module Storage_js : Db.Storage.S)
  | `ancient -> failwith "ancient is unsupported"