Backend.RemoteURI-based low-level remote synchronisation.
include Remote.S with type commit = Commit.key and type branch = Branch.keytype commit = Commit.keyThe type for store heads.
type branch = Branch.keyThe type for branch IDs.
val fetch :
t ->
?depth:int ->
endpoint ->
branch ->
(commit option, [ `Msg of string ]) Stdlib.resultfetch 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.