Package com.google.gerrit.server.git
Class MultiBaseLocalDiskRepositoryManager
java.lang.Object
com.google.gerrit.server.git.LocalDiskRepositoryManager
com.google.gerrit.server.git.MultiBaseLocalDiskRepositoryManager
- All Implemented Interfaces:
 GitRepositoryManager
RepositoryManager that looks up repos stored across directories.
 
Each repository has a path configured in Gerrit server config, repository.NAME.basePath, indicating where the repo can be found
- 
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class com.google.gerrit.server.git.LocalDiskRepositoryManager
LocalDiskRepositoryManager.Lifecycle, LocalDiskRepositoryManager.LocalDiskRepositoryManagerModule, LocalDiskRepositoryManager.ProjectVisitorNested classes/interfaces inherited from interface com.google.gerrit.server.git.GitRepositoryManager
GitRepositoryManager.Status - 
Method Summary
Modifier and TypeMethodDescriptiongetBasePath(Project.NameKey name) Return the basePath under which the specified project is stored.protected voidMethods inherited from class com.google.gerrit.server.git.LocalDiskRepositoryManager
canPerformGC, createRepository, getRepositoryStatus, list, openRepository 
- 
Method Details
- 
getBasePath
Description copied from class:LocalDiskRepositoryManagerReturn the basePath under which the specified project is stored.- Overrides:
 getBasePathin classLocalDiskRepositoryManager- Parameters:
 name- the name of the project- Returns:
 - base directory
 
 - 
scanProjects
- Overrides:
 scanProjectsin classLocalDiskRepositoryManager
 
 -