Add another utility function and added signal/slot ismasUpdatesAvailable/onIsmasUpdatesAvailable().

This commit is contained in:
Gerhard Hoffmann 2023-07-14 13:13:03 +02:00
parent 00f5216a9f
commit d91d4261d9

View File

@ -45,6 +45,18 @@ class GitClient : public QObject {
bool gitPull();
std::optional<QStringList> gitDiff(QString const &commit);
std::optional<QStringList> gitMerge();
QString gitLastCommit(QString fileName);
QString gitBlob(QString fileName);
QString gitCommitForBlob(QString blob);
bool gitIsFileTracked(QString file2name);
signals:
void ismasUpdatesAvailable();
public slots:
void onIsmasUpdatesAvailable();
};
#endif // GIT_CLIENT_H_INCLUDED