Package com.google.gerrit.server.git
Class DynamicRefDbRepository.FileKey
java.lang.Object
org.eclipse.jgit.lib.RepositoryCache.FileKey
com.google.gerrit.server.git.DynamicRefDbRepository.FileKey
- All Implemented Interfaces:
- org.eclipse.jgit.lib.RepositoryCache.Key
- Enclosing class:
- DynamicRefDbRepository
public static class DynamicRefDbRepository.FileKey
extends org.eclipse.jgit.lib.RepositoryCache.FileKey
- 
Constructor SummaryConstructorsConstructorDescriptionFileKey(File directory, org.eclipse.jgit.util.FS fs, BiFunction<File, org.eclipse.jgit.lib.RefDatabase, org.eclipse.jgit.lib.RefDatabase> refDatabaseSupplier) 
- 
Method SummaryModifier and TypeMethodDescriptionlenient(File directory, org.eclipse.jgit.util.FS fs, BiFunction<File, org.eclipse.jgit.lib.RefDatabase, org.eclipse.jgit.lib.RefDatabase> refDatabaseSupplier) org.eclipse.jgit.lib.Repositoryopen(boolean mustExist) Methods inherited from class org.eclipse.jgit.lib.RepositoryCache.FileKeyequals, exact, getFile, hashCode, isGitRepository, lenient, resolve, toString
- 
Constructor Details- 
FileKeypublic FileKey(File directory, org.eclipse.jgit.util.FS fs, BiFunction<File, org.eclipse.jgit.lib.RefDatabase, org.eclipse.jgit.lib.RefDatabase> refDatabaseSupplier) - Parameters:
- directory- exact location of the repository.
- fs- the file system abstraction which will be necessary to perform certain file system operations.
 
 
- 
- 
Method Details- 
lenientpublic static DynamicRefDbRepository.FileKey lenient(File directory, org.eclipse.jgit.util.FS fs, BiFunction<File, org.eclipse.jgit.lib.RefDatabase, org.eclipse.jgit.lib.RefDatabase> refDatabaseSupplier) 
- 
open- Specified by:
- openin interface- org.eclipse.jgit.lib.RepositoryCache.Key
- Overrides:
- openin class- org.eclipse.jgit.lib.RepositoryCache.FileKey
- Throws:
- IOException
 
 
-