Module Vcs.RefsSource

Sourcemodule Line : sig ... end
include module type of Volgo.Vcs.Refs with type t := t and module Line := Volgo.Vcs.Refs.Line
Sourceval to_dyn : t -> Volgo_stdlib.Dyn.t
Sourceval sexp_of_t : t -> Volgo_stdlib.Sexp.t
Sourceval equal : t -> t -> bool

Accessors

To lookup the revision of references (branch, tag, etc.), it is usually quite cheap to get all refs using Vcs.refs, turn the result into a map with this function, and use the map for the lookups rather than trying to run one git command per lookup. You may also use Vcs.Graph.find_ref if you build the complete graph with Vcs.graph.