occ
Loading...
Searching...
No Matches
version.h File Reference
#include <string>
#include <string_view>
Include dependency graph for version.h:

Namespaces

namespace  occ
 

Functions

std::string_view occ::version ()
 The occ release version, e.g. "0.9.6".
 
std::string_view occ::git_commit ()
 The git commit occ was built from, with a "-dirty" suffix if the checkout had uncommitted changes, or "unknown" when built outside a git checkout.
 
std::string occ::version_string ()
 "<version> (<git commit>)", for banners and output provenance.