Guitar
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
GitObjectCache Class Reference

#include <GitObjectManager.h>

Collaboration diagram for GitObjectCache:
Collaboration graph
[legend]

Classes

struct  Item
 

Public Member Functions

GitPtr git ()
 
GitPtr git (Git::SubmoduleItem const &submod)
 
void setup (GitPtr g)
 
Git::CommitID revParse (QString const &name)
 
Git::Object catFile (const Git::CommitID &id)
 
Git::CommitID getCommitIdFromTag (const QString &tag)
 
const Git::CommitIDitem_id (int i) const
 

Private Types

using ItemPtr = std::shared_ptr< Item >
 

Private Member Functions

size_t size () const
 

Private Attributes

GitObjectManager object_manager
 
std::vector< ItemPtritems
 
std::map< QString, Git::CommitIDrevparsemap
 

Member Typedef Documentation

◆ ItemPtr

using GitObjectCache::ItemPtr = std::shared_ptr<Item>
private

Member Function Documentation

◆ catFile()

Git::Object GitObjectCache::catFile ( const Git::CommitID id)
Here is the call graph for this function:

◆ getCommitIdFromTag()

Git::CommitID GitObjectCache::getCommitIdFromTag ( const QString &  tag)
Here is the call graph for this function:

◆ git() [1/2]

GitPtr GitObjectCache::git ( )
inline
Here is the call graph for this function:

◆ git() [2/2]

GitPtr GitObjectCache::git ( Git::SubmoduleItem const &  submod)
inline
Here is the call graph for this function:

◆ item_id()

const Git::CommitID& GitObjectCache::item_id ( int  i) const
inline

◆ revParse()

Git::CommitID GitObjectCache::revParse ( QString const &  name)
Here is the call graph for this function:

◆ setup()

void GitObjectCache::setup ( GitPtr  g)
Here is the call graph for this function:

◆ size()

size_t GitObjectCache::size ( ) const
private

Member Data Documentation

◆ items

std::vector<ItemPtr> GitObjectCache::items
private

◆ object_manager

GitObjectManager GitObjectCache::object_manager
private

◆ revparsemap

std::map<QString, Git::CommitID> GitObjectCache::revparsemap
private

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