Module Graph.Node_kind

type t = private
  1. | Root of {
    1. rev : Rev.t;
    }
  2. | Commit of {
    1. rev : Rev.t;
    2. parent : Node.t;
    }
  3. | Merge of {
    1. rev : Rev.t;
    2. parent1 : Node.t;
    3. parent2 : Node.t;
    }
val sexp_of_t : t -> Sexplib0.Sexp.t
val equal : t -> t -> bool
val rev : t -> Rev.t

A helper to access the revision of the node itself. This simply returns the first argument of each constructor.