Class GitWrapper

Class Documentation

class GitWrapper

Public Functions

bool add(const std::string &path)
bool open(const std::string &path)
DiffResult diff(const gitwrap::commit &oldCommit, const gitwrap::commit &newCommit)
MAYBE_BLAME Blame(const std::string &filepath, const gitwrap::commit &newCommit, const gitwrap::commit &oldCommit)
bool commit(git_signature *sign, const std::string &message)
bool log()
bool log(const std::string &branchName)
bool close()
GitWrapper()
~GitWrapper()

Public Members

git_repository *repo = nullptr
std::optional<gitwrap::logHandle> log_hdl
BRANCH_HANDLE handleBranch

Public Static Functions

static std::string GenTimeStamp()