Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
URI-based low-level sync.
include Irmin.Sync.S
with type commit = Commit.key
and type branch = Branch.key
with type endpoint = Smart_git.Endpoint.t
type commit = Commit.key
The type for store heads.
type branch = Branch.key
The type for branch IDs.
type endpoint = Smart_git.Endpoint.t
The type for sync endpoints.
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.