package hg_lib

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.17.0.tar.gz
sha256=2b7ec89fea70243afe99e6756268c59a76a600ab8db573c64efbe305485acf94

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.