mirror of
https://github.com/QRouland/UTPass.git
synced 2026-01-10 03:26:57 +00:00
Initial git clone feature
This commit is contained in:
20
plugins/Git/git.h
Normal file
20
plugins/Git/git.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef GIT_H
|
||||
#define GIT_H
|
||||
|
||||
#include <QUrl>
|
||||
#include <QObject>
|
||||
|
||||
|
||||
class Git : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
Git();
|
||||
~Git() override = default;
|
||||
|
||||
Q_INVOKABLE bool clone(QString url, QString path);
|
||||
// Q_INVOKABLE bool update(QUrl url, QString path);
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user