#include <RevisionInfo.hpp>
#include <pastis_git_revision.hpp>

std::string RevisionInfo::version()
{
  return PASTIS_VERSION;
}

std::string RevisionInfo::head()
{
  return PASTIS_HEAD;
}

std::string RevisionInfo::hash()
{
  return PASTIS_HASH;
}

bool RevisionInfo::isClean()
{
#if PASTIS_IS_CLEAN
  return true;
#else
  return false;
#endif
}