Current_gitIntegration with Git.
module Commit_id : sig ... endmodule Commit : sig ... endval clone :
schedule:Current_cache.Schedule.t ->
?gref:string ->
string ->
Commit.t Current.tclone ~schedule ~gref uri evaluates to the head commit of uri's gref branch (default: "master").
val fetch : Commit_id.t Current.t -> Commit.t Current.tval with_checkout :
?pool:unit Current.Pool.t ->
job:Current.Job.t ->
Commit.t ->
(Fpath.t -> 'a Current.or_error Lwt.t) ->
'a Current.or_error Lwt.twith_checkout ~job c fn clones c to a temporary directory and runs fn tmpdir. When it returns, the directory is deleted.
module Local : sig ... end