package hg_lib

  1. Overview
  2. Docs

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.