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 class
Nested classes/interfaces inherited from class com.google.gerrit.server.git.LocalDiskRepositoryManager
LocalDiskRepositoryManager.Lifecycle, LocalDiskRepositoryManager.LocalDiskRepositoryManagerModule, LocalDiskRepositoryManager.ProjectVisitor
Nested 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 void
Methods inherited from class com.google.gerrit.server.git.LocalDiskRepositoryManager
canPerformGC, createRepository, getRepositoryStatus, list, openRepository
-
Method Details
-
getBasePath
Description copied from class:LocalDiskRepositoryManager
Return the basePath under which the specified project is stored.- Overrides:
getBasePath
in classLocalDiskRepositoryManager
- Parameters:
name
- the name of the project- Returns:
- base directory
-
scanProjects
- Overrides:
scanProjects
in classLocalDiskRepositoryManager
-