v id p f is the listen hook calling f everytime a sub-path of p is modified. Return a function to call to remove the hook. Default to polling if no better solution is available. FSevents and Inotify backends are available.
hook t is an Irmin.Watcher compatible representation of v.
val stats : unit -> statsstats () is a snapshot of v's stats.