package ocamlformat
Module Ocamlformat.VersionSource
A version number, or "unknown". This is provided by dune-build-info, which means that it will be resolved in the following way:
- if (version) is set in (dune-project), it is used. This is what happens when using opam pins (through dune subst), or for released versions (through dune-release).
- otherwise, a description from
git describewill be used. Caveat for this case: binaries under_build/will not have this information, butdune install --prefix _installwill copy a valid binary under_install/bin.