MCPcopy Create free account
hub / github.com/codereader/DarkRadiant / getIndex

Method getIndex

plugins/vcs/Repository.cpp:301–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301Index::Ptr Repository::getIndex()
302{
303 git_index* index;
304 auto error = git_repository_index(&index, _repository);
305 GitException::ThrowOnError(error);
306
307 return std::make_shared<Index>(index);
308}
309
310std::shared_ptr<Tree> Repository::getTreeByRevision(const std::string& revision)
311{

Callers 3

tryToFinishMergeFunction · 0.45
onMapEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected