aboutsummaryrefslogblamecommitdiffstats
path: root/lib/kernel/BranchManager.mli
blob: 1b572afce916a703fd71a82269dfe1395961b842 (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 -> Concepts.Hash.hash -> (manager, Concepts.Condition.condition) result
  val fetch : manager -> string -> (Concepts.Branch.t option, Concepts.Condition.condition) result
  val update : manager -> string -> (branch -> branch) -> (manager, Concepts.Condition.condition) result

  (* TODO: fork, join *)
end