irmin C library using ocaml-ctypes inverted stubs.
See irmin.h for available functions and types.
IrminX
values should be released using the correspondingirmin_X_free
function.- The following types can safely be cast to
IrminValue*
/IrminContents
:IrminString
IrminCommit
IrminHash
IrminPath
IrminTree
IrminInfo
To compile irmin.h
and libirmin.so
, run:
$ make
After that completes irmin.h
can be found in include/
and libirmin.so
will be in lib/
To install/uninstall irmin.h
and libirmin.so
:
$ opam install .
$ opam uninstall libirmin
irmin.h
and libirmin.so
will be copied to $OPAM_SWITCH_PREFIX/lib/libirmin/include
and
$OPAM_SWITCH_PREFIX/lib/libirmin/lib
- this is where the Rust and Python bindings will check.
Testing is handled by dune
:
$ dune runtest
See README_LIBIRMIN
See irmin-rs
See irmin-py