Skip to content

Commit

Permalink
clean plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
clecat committed Jan 31, 2024
1 parent 16c23fb commit f7b52c3
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions examples/plugin/plugin.ml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,6 @@ module Int = struct
let merge = Irmin.Merge.(option (idempotent t))
end

let () =
Eio_main.run @@ fun env ->
Irmin_pack_unix.Io.set_env (Eio.Stdenv.fs env);
Resolver.Contents.add ~default:true "int" (module Int)

module Schema = struct
module Contents = Int
module Hash = Irmin.Hash.BLAKE2B
Expand All @@ -48,4 +43,5 @@ let store = Resolver.Store.v Irmin_mem.Conf.spec (module Store)
let () =
Eio_main.run @@ fun env ->
Irmin_pack_unix.Io.set_env (Eio.Stdenv.fs env);
Resolver.Contents.add ~default:true "int" (module Int);
Resolver.Store.add ~default:true "mem-int" (Fixed store)

0 comments on commit f7b52c3

Please sign in to comment.