Menu item "Checkout" spawns a dialog, thus requires ellipsis
[qgit4/redivivus.git] / src / cache.h
blob56ca30de4cee6a476ef1651f049f72d143004295
1 /*
2 Author: Marco Costalba (C) 2005-2007
4 Copyright: See COPYING file that comes with this distribution
6 */
7 #ifndef CACHE_H
8 #define CACHE_H
10 #include "git.h"
12 class Cache : public QObject {
13 Q_OBJECT
14 public:
15 explicit Cache(QObject* par) : QObject(par) {}
16 static bool save(const QString& gitDir, const RevFileMap& rf,
17 const StrVect& dirs, const StrVect& files);
18 static bool load(const QString& gitDir, RevFileMap& rf,
19 StrVect& dirs, StrVect& files, QByteArray& revsFilesShaBuf);
22 #endif