File indexing completed on 2025-01-05 05:14:39

0001 /*
0002 SPDX-FileCopyrightText: 2021 Hamed Masafi <hamed.masfi@gmail.com>
0003 
0004 SPDX-License-Identifier: GPL-3.0-or-later
0005 */
0006 
0007 #pragma once
0008 
0009 #include <gitmanager.h>
0010 
0011 class RepositoryData : public QObject
0012 {
0013     Q_OBJECT
0014 
0015 public:
0016     RepositoryData(QObject *parent = nullptr);
0017 
0018     void loadAll();
0019 
0020 private:
0021     Git::Manager *const mManager{nullptr};
0022     Git::RemotesModel *const mRemotesModel{nullptr};
0023     Git::AuthorsModel *const mAuthorsModel{nullptr};
0024     Git::SubmodulesModel *const mSubmodulesModel{nullptr};
0025     Git::BranchesModel *const mBranchesModel{nullptr};
0026     Git::LogsModel *const mLogsCache{nullptr};
0027     Git::StashesModel *const mStashesCache{nullptr};
0028     Git::TagsModel *const mTagsModel{nullptr};
0029 };