Graph.Node_kind
type t = private
| Root of {
rev : Rev.t;
}
| Commit of {
parent : Node.t;
| Merge of {
parent1 : Node.t;
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.