(************************************************************************) (* v * The Coq Proof Assistant / The Coq Development Team *) (* t val equal : t -> t -> bool val compare : t -> t -> int val to_string : t -> string val master : t end type id type ('kind) branch_info = { kind : [> `Master] as 'kind; root : id; pos : id; } type ('kind,'diff,'info) t constraint 'kind = [> `Master ] val empty : id -> ('kind,'diff,'info) t val current_branch : ('k,'e,'i) t -> Branch.t val branches : ('k,'e,'i) t -> Branch.t list val get_branch : ('k,'e,'i) t -> Branch.t -> 'k branch_info val reset_branch : ('k,'e,'i) t -> Branch.t -> id -> ('k,'e,'i) t val branch : ('kind,'e,'i) t -> ?root:id -> Branch.t -> 'kind -> ('kind,'e,'i) t val delete_branch : ('k,'e,'i) t -> Branch.t -> ('k,'e,'i) t val merge : (* a 'diff is always Nop, fix that XXX *) ('k,'diff,'i) t -> id -> ours:'diff -> theirs:'diff -> ?into:Branch.t -> Branch.t -> ('k,'diff,'i) t val commit : ('k,'diff,'i) t -> id -> 'diff -> ('k,'diff,'i) t val checkout : ('k,'e,'i) t -> Branch.t -> ('k,'e,'i) t val set_info : ('k,'e,'info) t -> id -> 'info -> ('k,'e,'info) t val get_info : ('k,'e,'info) t -> id -> 'info option val create_cluster : ('k,'e,'i) t -> id list -> ('k,'e,'i) t (* read only dag *) module Dag : Dag.S with type node = id val dag : ('k,'diff,'info) t -> ('diff,'info) Dag.t end module Make(OT : Map.OrderedType) : S with type id = OT.t