[go: up one dir, main page]

File: cache.h

package info (click to toggle)
qgit 2.3-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 1,152 kB
  • ctags: 1,477
  • sloc: cpp: 11,857; makefile: 51; sh: 39
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