| 1924 | } |
| 1925 | |
| 1926 | std::string GitPlugin::repoName( const std::string& repoPath ) { |
| 1927 | Lock l( mRepoMutex ); |
| 1928 | for ( const auto& repo : mRepos ) |
| 1929 | if ( repo.first == repoPath ) |
| 1930 | return repo.second; |
| 1931 | return ""; |
| 1932 | } |
| 1933 | |
| 1934 | std::string GitPlugin::repoFullName( const std::string& repoPath ) { |
| 1935 | Lock l( mRepoMutex ); |