Polyphase Game Engine
Loading...
Searching...
No Matches
GitCliProbe.h
Go to the documentation of this file.
1#pragma once
2
3#if EDITOR
4
5#include <string>
6
7class GitCliProbe
8{
9public:
10 void Probe();
11
12 bool IsGitAvailable() const;
13 const std::string& GetGitVersion() const;
14 const std::string& GetGitUserName() const;
15 const std::string& GetUserEmail() const;
16 const std::string& GetCredentialHelper() const;
17 const std::string& GetGitPath() const;
18
19private:
20 bool mProbed = false;
21 bool mGitAvailable = false;
22 std::string mGitVersion;
23 std::string mUserName;
24 std::string mUserEmail;
25 std::string mCredentialHelper;
26 std::string mGitPath;
27};
28
29#endif