package mgit
Module Mgit_unix.FlowSource
Source
type ctx = {ssh : string;authenticator : X509.Authenticator.t option;happy_eyeballs : Happy_eyeballs.t option;nameservers : (Dns.proto * Dns_client_miou_unix.Transport.io_addr list) option;mutable service : Happy_eyeballs_miou_unix.t option;mutable dns : Dns_client_miou_unix.t option;
}Source
val connect_system :
ctx ->
?port:??? ->
?tls_config:??? ->
string ->
([> `Tcp of Miou_unix.file_descr | `Tls of Tls_miou_unix.t ]
* Ipaddr.t
* int
* Tls.Core.epoch_data option,
[> `Msg of string ])
resultSource
val connect_happy_eyeballs :
?port:??? ->
?tls_config:??? ->
Happy_eyeballs_miou_unix.t ->
string ->
([> `Tcp of Miou_unix.file_descr | `Tls of Tls_miou_unix.t ]
* Ipaddr.t
* int
* Tls.Core.epoch_data option,
[> `Msg of string ])
resultSource
val attempt :
Unix.sockaddr list ->
(Miou_unix.file_descr * Miou.Ownership.t, [> `Msg of string ]) resultSource
val ssh :
ctx ->
Mgit_sync.Endpoint.t ->
service:string ->
version:int ->
(process * Miou.Ownership.t, [> `Msg of string ]) resultSource
val connect :
Http.ctx ->
Mgit_sync.Endpoint.t ->
service:string ->
version:int ->
(t, [> `Msg of string ]) resultSource
val read :
Miou_unix.file_descr ->
bytes ->
off:int ->
len:int ->
([> `End | `Len of int ], [> `Msg of string ]) resultSource
val write :
Miou_unix.file_descr ->
string ->
off:int ->
len:int ->
(int, [> `Msg of string ]) result