Skip to content

Commit

Permalink
examples/server: use git in-memory store
Browse files Browse the repository at this point in the history
  • Loading branch information
metanivek committed Oct 5, 2023
1 parent cee2d13 commit 12a5e42
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion examples/server/config.ml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*)

module Store = Irmin_mem.KV.Make (Irmin.Contents.String)
module Store = struct
module Git_impl = Irmin_git.Mem
module Sync = Git.Mem.Sync (Git_impl)
module Maker = Irmin_git.KV (Git_impl) (Sync)
include Maker.Make (Irmin.Contents.String)
end

let uri = Uri.of_string "tcp://localhost:4242"

0 comments on commit 12a5e42

Please sign in to comment.