package mgit

Build not yet checked
  1. Overview
  2. Docs
Git in OCaml

Install

dune-project
 Dependency

Authors

Maintainers

Sources

mgit-0.1.0.tbz
sha256=6fad812ce53e69e045c4d53d958fc0f12c13900841348dd37f0ba6dd0db2ba8d
sha512=3c2427bc9ee42748aa99540582125aea989dca574493ef46cae70d67ab005c517f079c6c537507b3cb53544811864d52d30df22993b7c297f6a6521f6484ff82

doc/mgit.unix/Mgit_unix/index.html

Module Mgit_unixSource

Sourcemodule Block : sig ... end
Sourcemodule Flow : sig ... end
include sig ... end
Sourcetype !'k from = 'k Mgit.Make(Block)(Flow).from =
  1. | Blk : Block.t -> blk from
  2. | Mem : mem from
Sourceval remote : Flow.ctx -> string -> (remote, [> `Msg of string ]) result
Sourceval context : 'k t -> Flow.ctx option
Sourceval format : ?ratio:??? -> ?length:??? -> Block.t -> (unit, [> Mgit.error ]) result
Sourceval expand : ?length:??? -> Block.t -> (unit, [> Mgit.error ]) result
Sourceval make : ?branch:??? -> ?depth:??? -> ?now:??? -> ?remote:??? -> 'k from -> ('k t, [> Mgit.error ]) result
Sourceval branch : 'k t -> string
Sourceval branches : 'k t -> (string * Mgit.uid) list
Sourceval checkout : 'k t -> string -> ('k t, [> Mgit.error ]) result
Sourceval forget : 'k t -> string -> (unit, [> Mgit.error ]) result
Sourceval set_default : 'k t -> string -> (unit, [> Mgit.error ]) result
Sourceval commit : 'k t -> [ `Clean of Mgit.uid | `Dirty of Mgit.uid ] option
Sourceval get : 'k t -> string -> (Mgit.perm * string, [> Mgit.error ]) result
Sourceval list : 'k t -> string -> ((string * [ `Dictionary | `Value ]) list, [> Mgit.error ]) result
Sourceval fold : 'k t -> ('a -> path:string list -> Mgit.perm -> string -> 'a) -> 'a -> 'a
Sourceval set : 'k t -> ?perm:??? -> string -> string -> (unit, [> Mgit.error ]) result
Sourceval remove : 'k t -> string -> (unit, [> Mgit.error ]) result
Sourceval change_and_push : 'k t -> ?author:??? -> ?email:??? -> ?message:??? -> ('k t -> 'a) -> ('a, [> Mgit.error ]) result
Sourceval pull : 'k t -> ((string * Mgit.change list) list, [> Mgit.error ]) result
Sourceval push : 'k t -> ?branches:??? -> remote -> (unit, [> Mgit.error ]) result
Sourceval shallows : 'k t -> Mgit.uid list
Sourceval mem : 'k t -> Mgit.uid -> bool
Sourceval to_pack : 'k t -> ?haves:??? -> Mgit.uid list -> (string -> unit) -> (unit, [> Mgit.error ]) result
Sourcetype update = Mgit.Make(Block)(Flow).update = {
  1. name : string;
  2. old : Mgit.uid option;
  3. uid : Mgit.uid;
}
Sourceval load : 'k t -> updates:update list -> string Seq.t -> ((string * Mgit.change list) list, [> Mgit.error ]) result
Sourceval gc : ?shallows:??? -> 'k t -> (unit, [> Mgit.error ]) result
Sourceval to_bundle : 'k t -> (string -> unit) -> unit