Guitar
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GitCommitTree Class Reference

#include <GitObjectManager.h>

Collaboration diagram for GitCommitTree:
Collaboration graph
[legend]

Public Member Functions

 GitCommitTree (GitObjectCache *objcache)
 
QString lookup (QString const &file)
 
bool lookup (QString const &file, GitTreeItem *out)
 
void parseTree (QString const &tree_id)
 
QString parseCommit (QString const &commit_id)
 
const GitTreeItemListtreelist () const
 

Private Member Functions

GitPtr git ()
 
QString lookup_ (QString const &file, GitTreeItem *out)
 

Private Attributes

GitObjectCacheobjcache
 
GitTreeItemList root_item_list
 
std::map< QString, GitTreeItemblob_map
 
std::map< QString, QString > tree_id_map
 

Constructor & Destructor Documentation

◆ GitCommitTree()

GitCommitTree::GitCommitTree ( GitObjectCache objcache)

Member Function Documentation

◆ git()

GitPtr GitCommitTree::git ( )
private
Here is the call graph for this function:

◆ lookup() [1/2]

QString GitCommitTree::lookup ( QString const &  file)
Here is the call graph for this function:

◆ lookup() [2/2]

bool GitCommitTree::lookup ( QString const &  file,
GitTreeItem out 
)
Here is the call graph for this function:

◆ lookup_()

QString GitCommitTree::lookup_ ( QString const &  file,
GitTreeItem out 
)
private
Here is the call graph for this function:

◆ parseCommit()

QString GitCommitTree::parseCommit ( QString const &  commit_id)
Here is the call graph for this function:

◆ parseTree()

void GitCommitTree::parseTree ( QString const &  tree_id)
Here is the call graph for this function:

◆ treelist()

const GitTreeItemList* GitCommitTree::treelist ( ) const
inline

Member Data Documentation

◆ blob_map

std::map<QString, GitTreeItem> GitCommitTree::blob_map
private

◆ objcache

GitObjectCache* GitCommitTree::objcache
private

◆ root_item_list

GitTreeItemList GitCommitTree::root_item_list
private

◆ tree_id_map

std::map<QString, QString> GitCommitTree::tree_id_map
private

The documentation for this class was generated from the following files: