Guitar
Classes | Typedefs | Functions
GitObjectManager.h File Reference
#include <QMutex>
#include <QString>
#include "GitPack.h"
#include "GitPackIdxV2.h"
#include <map>
#include "common/joinpath.h"
Include dependency graph for GitObjectManager.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GitObjectManager
 
class  GitObjectCache
 
struct  GitObjectCache::Item
 
class  GitCommit
 
struct  GitTreeItem
 
class  GitCommitTree
 

Typedefs

using GitPtr = std::shared_ptr< Git >
 
using GitTreeItemList = QList< GitTreeItem >
 

Functions

QString lookupFileID (GitObjectCache *objcache, QString const &commit_id, QString const &file)
 指定されたコミットに属するファイルのIDを求める More...
 
void parseGitTreeObject (QByteArray const &ba, const QString &path_prefix, GitTreeItemList *out)
 
bool parseGitTreeObject (GitObjectCache *objcache, QString const &commit_id, QString const &path_prefix, GitTreeItemList *out)
 

Typedef Documentation

◆ GitPtr

using GitPtr = std::shared_ptr<Git>

◆ GitTreeItemList

using GitTreeItemList = QList<GitTreeItem>

Function Documentation

◆ lookupFileID()

QString lookupFileID ( GitObjectCache objcache,
QString const &  commit_id,
QString const &  file 
)

指定されたコミットに属するファイルのIDを求める

Parameters
objcache
commit_id
file
Returns
Here is the call graph for this function:

◆ parseGitTreeObject() [1/2]

bool parseGitTreeObject ( GitObjectCache objcache,
QString const &  commit_id,
QString const &  path_prefix,
GitTreeItemList out 
)
Here is the call graph for this function:

◆ parseGitTreeObject() [2/2]

void parseGitTreeObject ( QByteArray const &  ba,
const QString &  path_prefix,
GitTreeItemList out 
)
Here is the call graph for this function: