Class 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 Detail

      • FileKey

        public 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 Detail

      • open

        public org.eclipse.jgit.lib.Repository open​(boolean mustExist)
                                             throws IOException
        Specified by:
        open in interface org.eclipse.jgit.lib.RepositoryCache.Key
        Overrides:
        open in class org.eclipse.jgit.lib.RepositoryCache.FileKey
        Throws:
        IOException