package hg_lib

  1. Overview
  2. Docs
A library that wraps the Mercurial command line interface

Install

Dune Dependency

Authors

Maintainers

Sources

hg_lib-v0.16.0.tar.gz
sha256=ee53cd5759f097c0d19da0ba413b3246acd485fe47bd70fd47694a309d5d9453

doc/hg_lib.open/Open_hg_lib/Command_server/index.html

Module Open_hg_lib.Command_serverSource

Sourcetype t

a connection to an hg command server

Sourcemodule Ssh : sig ... end
Sourceval create : ?env:Async.Process.env -> ?hg_binary:string -> ?config:(string * string) list -> accepted_encodings:[ `Ascii | `Utf8 ] list -> Ssh.t option -> t Core.Or_error.t Async.Deferred.t

create addr starts an hg command server at that location

Sourceval destroy : t -> unit Async.Deferred.t

destroy t closes stdin on the hg process and waits for it to exit

Sourceval run_command : t -> cwd:string -> string list -> Async.Process.Output.t Core.Or_error.t Async.Deferred.t

run_command t ~cwd args uses t to run "hg $args" in cwd

OCaml

Innovation. Community. Security.