[go: up one dir, main page]

File: cache.h

package info (click to toggle)
qgit 2.12-1~exp1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,364 kB
  • sloc: cpp: 13,251; xml: 47; sh: 25; javascript: 16; makefile: 3
file content (22 lines) | stat: -rw-r--r-- 528 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
	Author: Marco Costalba (C) 2005-2007

	Copyright: See COPYING file that comes with this distribution

*/
#ifndef CACHE_H
#define CACHE_H

#include "git.h"

class Cache : public QObject {
Q_OBJECT
public:
	explicit Cache(QObject* par) : QObject(par) {}
	static bool save(const QString& gitDir, const RevFileMap& rf,
	                 const StrVect& dirs, const StrVect& files);
	static bool load(const QString& gitDir, RevFileMap& rf,
	                 StrVect& dirs, StrVect& files, QByteArray& revsFilesShaBuf);
};

#endif