dbhub: Send last known commit id along with the database when pushing

This commit is contained in:
Martin Kleusberg
2017-09-30 12:57:46 +02:00
parent 8a540a2745
commit fef884a4e1
2 changed files with 38 additions and 0 deletions

View File

@@ -76,6 +76,7 @@ private:
void localAdd(QString filename, QString identity, const QUrl& url);
QString localExists(const QUrl& url, QString identity);
QString localCheckFile(const QString& local_file);
QString localLastCommitId(QString filename);
// Helper functions for building multi-part HTTP requests
void addPart(QHttpMultiPart* multipart, const QString& name, const QString& value);