| 299 | } |
| 300 | |
| 301 | Index::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 | |
| 310 | std::shared_ptr<Tree> Repository::getTreeByRevision(const std::string& revision) |
| 311 | { |
no outgoing calls
no test coverage detected