Bertini 2 d882924 (2026-10-06 19:56 UTC)
Numerical algebraic geometry library (C++ core)
Loading...
Searching...
No Matches
producer.hpp File Reference

Which software produced a record: name, version, and source commit, for the producer field of run headers. More...

#include <string>
#include <boost/json.hpp>
Include dependency graph for producer.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bertini
namespace  bertini::records

Functions

std::string bertini::records::ProducerVersion ()
 This build's package version (e.g. "3.0.0.dev7", from the VERSION file).
std::string bertini::records::ProducerCommit ()
 The git commit this build came from ("<sha>", "<sha>-dirty", or "unknown" for builds outside a git checkout, e.g.
boost::json::object bertini::records::ProducerInfo ()
 The producer object recorded in every run header.

Detailed Description

Which software produced a record: name, version, and source commit, for the producer field of run headers.

An archive read in ten years should say which binary wrote it. The producer is DESCRIPTIVE only – it is never part of the ask identity, so a newer build answering the same ask still recalls the old answer rather than recomputing.