package irmin-git

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module type G = sig ... end
module type S = sig ... end
module type Backend = sig ... end
module Maker (G : sig ... end) : sig ... end
module FS : sig ... end
module Mem : sig ... end
include module type of struct include Irmin_unix end

Irmin Unix utilities

This module provides utilities for Unix applications.

module Info = Irmin_unix.Info
val info : ?author:string -> ('a, Format.formatter, unit, unit -> Irmin.Info.default) format4 -> 'a

info fmt () creates a fresh commit info, with the date set to Unix.gettimeoday () and the author built using Unix.gethostname() and Unix.getpid() if author is not provided.

val set_listen_dir_hook : unit -> unit

Install Irmin_watcher.hook as the listen hook for watching changes in directories.

OCaml

Innovation. Community. Security.