aboutsummaryrefslogblamecommitdiffstats
path: root/lib/kernel/BranchManager.mli
blob: 063f8a7cc2ae2837761dcdc2073409c3e453ddc3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11




                                                

                                                                                           



                                                                                                        
type branch = string            (* FIXME *)

module Make (S : Abstract.Storage.STORAGE) : sig
  type manager

  val initialize : S.connection -> string -> (manager, Concepts.Condition.condition) result
  val fetch : manager -> string -> (branch option, Concepts.Condition.condition) result
  val update : manager -> string -> (branch -> branch) -> (manager, Concepts.Condition.condition) result

  (* TODO: fork, join *)
end