Module Backend.RemoteSource

Sourcetype commit = Commit.key
Sourcetype branch = Branch.key
Sourcetype endpoint = X.Remote.endpoint
Sourceval fetch : t -> ?depth:int -> endpoint -> branch -> (commit option, [ `Msg of string ]) result Lwt.t
Sourceval push : t -> ?depth:int -> endpoint -> branch -> (unit, [ `Detached_head | `Msg of string ]) result Lwt.t
Sourceval v : Repo.t -> t Lwt.t