package stog_server_multi

  1. Overview
  2. Docs

Git operations on server side.

type git_repo = {
  1. repo_dir : Ojs_base.Path.t;
  2. origin_url : string;
  3. origin_branch : string;
  4. edit_branch : string;
}
val git_repo_to_yojson : git_repo -> Yojson.Safe.t
val git_repo : origin_url:string -> origin_branch:string -> edit_branch:string -> dir:Ojs_base.Path.t -> git_repo
val clone : ?sshkey:string -> git_repo -> unit Lwt.t
val set_user_info : git_repo -> name:string -> email:string -> unit
val current_branch : git_repo -> string
val create_edit_branch : git_repo -> unit
module Make (P : Stog_multi_ed_common.Git.P) : sig ... end
OCaml

Innovation. Community. Security.