Select Git revision
ModuleRepository.cpp
-
Stéphane Del Pino authored
This function lists is functions and types provided by a module
Stéphane Del Pino authoredThis function lists is functions and types provided by a module
RevisionInfo.cpp 347 B
#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
}