Remote.None
Provides stub implementations of the S
that always returns Error
when push/pull operations are attempted.
module H : Type.S
module R : Type.S
include S with type commit = H.t and type branch = R.t and type endpoint = unit
val fetch :
t ->
?depth:int ->
endpoint ->
branch ->
(commit option, [ `Msg of string ]) Stdlib.result Lwt.t
fetch t uri
fetches the contents of the remote store located at uri
into the local store t
. Return the head of the remote branch with the same name, which is now in the local store. No_head
means no such branch exists.
val v : 'a -> t Lwt.t
Create a remote store handle.