1#pragma once
2
3#include <QSharedPointer>
4
5#include <WipRevisionInfo.h>
6
7class GitBase;
8class GitCache;
9
10class GitWip
11{
12public:
13 explicit GitWip(const QSharedPointer<GitBase> &git, const QSharedPointer<GitCache> &cache);
14
15 QVector<QString> getUntrackedFiles() const;
16 bool updateWip() const;
17 WipRevisionInfo getWipInfo() const;
18
19private:
20 QSharedPointer<GitBase> mGit;
21 QSharedPointer<GitCache> mCache;
22};
23