41 #ifndef __OPENFLUID_UTILS_GITHELPER_HPP__
42 #define __OPENFLUID_UTILS_GITHELPER_HPP__
52 namespace openfluid {
namespace utils {
63 TRACKED, UNTRACKED, IGNORED, CONFLICT, ADDED, DELETED, MODIFIED
68 bool m_IsDirty =
false;
75 bool m_IsGitTracked =
false;
77 QString m_BranchName =
"";
85 static QString m_GitPgm;
87 QProcess* mp_Process =
nullptr;
96 void processStandardOutput();
98 void processErrorOutput();
100 void processErrorOutputAsInfo();
105 void info(
const QString& Message);
107 void error(
const QString& Message);
116 static bool checkGitProgram();
118 static std::string getOpenfluidCurrentBranchName();
120 bool clone(
const QString& FromUrl,
const QString& ToPath,
121 const QString& Username =
"",
const QString& Password =
"",
122 bool SslNoVerify =
false);
126 QString statusHtml(
const QString& Path,
bool WithColorCodes);
128 QString logHtml(
const QString& Path,
bool WithColorCodes);
FileStatus
Definition: GitHelper.hpp:61
QMap< QString, FileStatusInfo > m_FileStatusByTreePath
Definition: GitHelper.hpp:79
#define OPENFLUID_API
Definition: dllexport.hpp:87
Definition: GitHelper.hpp:73
Definition: GitHelper.hpp:66
Definition: GitHelper.hpp:55