Add another utility function and added signal/slot ismasUpdatesAvailable/onIsmasUpdatesAvailable().
This commit is contained in:
parent
00f5216a9f
commit
d91d4261d9
@ -45,6 +45,18 @@ class GitClient : public QObject {
|
|||||||
bool gitPull();
|
bool gitPull();
|
||||||
std::optional<QStringList> gitDiff(QString const &commit);
|
std::optional<QStringList> gitDiff(QString const &commit);
|
||||||
std::optional<QStringList> gitMerge();
|
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
|
#endif // GIT_CLIENT_H_INCLUDED
|
||||||
|
Loading…
Reference in New Issue
Block a user