Uses of Class
org.eclipse.jgit.lib.Repository
-
-
Uses of Repository in org.eclipse.jgit.api
Fields in org.eclipse.jgit.api declared as Repository Modifier and Type Field Description private RepositoryGit. repoThe git repository this class is interacting withprotected RepositoryGitCommand. repoThe repository this command is working withMethods in org.eclipse.jgit.api that return Repository Modifier and Type Method Description RepositorySubmoduleAddCommand. call()private RepositorySubmoduleUpdateCommand. getOrCloneSubmodule(SubmoduleWalk generator, java.lang.String url)RepositoryGit. getRepository()Get repositoryRepositoryGitCommand. getRepository()Get repository this command is working onprivate RepositoryCloneCommand. init()Methods in org.eclipse.jgit.api with parameters of type Repository Modifier and Type Method Description private voidCloneCommand. addMergeConfig(Repository clonedRepo, Ref head)private voidCloneCommand. checkout(Repository clonedRepo, FetchResult result)private voidCloneCommand. cloneSubmodules(Repository clonedRepo)(package private) static voidAddNoteCommand. commitNoteMap(Repository r, java.lang.String ref, RevWalk walk, NoteMap map, RevCommit notesCommit, ObjectInserter inserter, java.lang.String msg)private FetchResultCloneCommand. fetch(Repository clonedRepo, URIish u)protected java.lang.StringSubmoduleSyncCommand. getHeadBranch(Repository subRepo)Get branch that HEAD currently points toprivate RevCommitCloneCommand. parseCommit(Repository clonedRepo, Ref ref)static GitGit. wrap(Repository repo)Wrap repositoryConstructors in org.eclipse.jgit.api with parameters of type Repository Constructor Description AddCommand(Repository repo)Constructor for AddCommandAddNoteCommand(Repository repo)Constructor for AddNoteCommandApplyCommand(Repository repo)Constructs the command if the patch is to be applied to the index.ArchiveCommand(Repository repo)Constructor for ArchiveCommandBlameCommand(Repository repo)Constructor for BlameCommandCheckoutCommand(Repository repo)Constructor for CheckoutCommandCherryPickCommand(Repository repo)Constructor for CherryPickCommandCleanCommand(Repository repo)Constructor for CleanCommandCommitCommand(Repository repo)Constructor for CommitCommandCreateBranchCommand(Repository repo)Constructor for CreateBranchCommandDeleteBranchCommand(Repository repo)Constructor for DeleteBranchCommandDeleteTagCommand(Repository repo)Constructor for DeleteTagCommandDescribeCommand(Repository repo)Constructor for DescribeCommand.DiffCommand(Repository repo)Constructor for DiffCommandFetchCommand(Repository repo)Constructor for FetchCommand.GarbageCollectCommand(Repository repo)Constructor for GarbageCollectCommand.Git(Repository repo)Construct a newGitobject which can interact with the specified git repository.Git(Repository repo, boolean closeRepo)GitCommand(Repository repo)Creates a new command which interacts with a single repositoryListBranchCommand(Repository repo)Constructor for ListBranchCommand.ListNotesCommand(Repository repo)Constructor for ListNotesCommand.ListTagCommand(Repository repo)Constructor for ListTagCommand.LogCommand(Repository repo)Constructor for LogCommand.LsRemoteCommand(Repository repo)Constructor for LsRemoteCommandMergeCommand(Repository repo)Constructor for MergeCommand.NameRevCommand(Repository repo)Create a new name-rev command.PullCommand(Repository repo)Constructor for PullCommand.PushCommand(Repository repo)Constructor for PushCommand.RebaseCommand(Repository repo)Constructor for RebaseCommand.ReflogCommand(Repository repo)Constructor for ReflogCommand.RemoteAddCommand(Repository repo)Constructor for RemoteAddCommand.RemoteListCommand(Repository repo)Constructor for RemoteListCommand.RemoteRemoveCommand(Repository repo)Constructor for RemoteRemoveCommand.RemoteSetUrlCommand(Repository repo)Constructor for RemoteSetUrlCommand.RemoveNoteCommand(Repository repo)Constructor for RemoveNoteCommand.RenameBranchCommand(Repository repo)Constructor for RenameBranchCommand.ResetCommand(Repository repo)Constructor for ResetCommand.RevertCommand(Repository repo)Constructor for RevertCommand.RmCommand(Repository repo)Constructor for RmCommand.ShowNoteCommand(Repository repo)Constructor for ShowNoteCommand.StashApplyCommand(Repository repo)Create command to apply the changes of a stashed commitStashCreateCommand(Repository repo)Create a command to stash changes in the working directory and indexStashDropCommand(Repository repo)Constructor for StashDropCommand.StashListCommand(Repository repo)Create a new stash list commandStatusCommand(Repository repo)Constructor for StatusCommand.SubmoduleAddCommand(Repository repo)Constructor for SubmoduleAddCommand.SubmoduleDeinitCommand(Repository repo)Constructor of SubmoduleDeinitCommandSubmoduleInitCommand(Repository repo)Constructor for SubmoduleInitCommand.SubmoduleStatusCommand(Repository repo)Constructor for SubmoduleStatusCommand.SubmoduleSyncCommand(Repository repo)Constructor for SubmoduleSyncCommand.SubmoduleUpdateCommand(Repository repo)Constructor for SubmoduleUpdateCommand.TagCommand(Repository repo)Constructor for TagCommand.TransportCommand(Repository repo)Constructor for TransportCommand.VerifySignatureCommand(Repository repo)Creates a newVerifySignatureCommandfor the givenRepository. -
Uses of Repository in org.eclipse.jgit.attributes
Methods in org.eclipse.jgit.attributes with parameters of type Repository Modifier and Type Method Description FilterCommandFilterCommandFactory. create(Repository db, java.io.InputStream in, java.io.OutputStream out)Create a newFilterCommand.static FilterCommandFilterCommandRegistry. createFilterCommand(java.lang.String filterCommandName, Repository db, java.io.InputStream in, java.io.OutputStream out)Create a newFilterCommandfor the given name. -
Uses of Repository in org.eclipse.jgit.blame
Fields in org.eclipse.jgit.blame declared as Repository Modifier and Type Field Description private RepositoryBlameGenerator. repositoryprivate RepositoryCandidate. sourceRepositoryrepository used for LFS blob handlingMethods in org.eclipse.jgit.blame that return Repository Modifier and Type Method Description RepositoryBlameGenerator. getRepository()Get repositoryMethods in org.eclipse.jgit.blame with parameters of type Repository Modifier and Type Method Description (package private) CandidateCandidate. create(Repository repo, RevCommit commit, PathFilter path)(package private) CandidateCandidate.ReverseCandidate. create(Repository repo, RevCommit commit, PathFilter path)private java.util.List<RevCommit>BlameGenerator. getHeads(Repository repo, ObjectId head)Constructors in org.eclipse.jgit.blame with parameters of type Repository Constructor Description BlameGenerator(Repository repository, java.lang.String path)Create a blame generator for the repository and path (relative to repository)BlobCandidate(Repository repo, java.lang.String name, PathFilter path)Candidate(Repository repo, RevCommit commit, PathFilter path)HeadCandidate(Repository repo, PathFilter path, java.util.List<RevCommit> parents)ReverseCandidate(Repository repo, ReverseWalk.ReverseCommit commit, PathFilter path)ReverseWalk(Repository repo) -
Uses of Repository in org.eclipse.jgit.diff
Fields in org.eclipse.jgit.diff declared as Repository Modifier and Type Field Description private RepositoryDiffFormatter. repositoryMethods in org.eclipse.jgit.diff with parameters of type Repository Modifier and Type Method Description voidDiffFormatter. setRepository(Repository repository)Set the repository the formatter can load object contents from.Constructors in org.eclipse.jgit.diff with parameters of type Repository Constructor Description RenameDetector(Repository repo)Create a new rename detector for the given repository -
Uses of Repository in org.eclipse.jgit.dircache
Fields in org.eclipse.jgit.dircache declared as Repository Modifier and Type Field Description private RepositoryDirCacheCheckout. repoprivate RepositoryDirCache. repositoryRepository containing this indexMethods in org.eclipse.jgit.dircache with parameters of type Repository Modifier and Type Method Description static voidDirCacheCheckout. checkoutEntry(Repository repo, DirCacheEntry entry, ObjectReader or)Deprecated.static voidDirCacheCheckout. checkoutEntry(Repository repo, DirCacheEntry entry, ObjectReader or, boolean deleteRecursive, DirCacheCheckout.CheckoutMetadata checkoutMetadata)Updates the file in the working tree with content and mode from an entry in the index.static voidDirCacheCheckout. getContent(Repository repo, java.lang.String path, DirCacheCheckout.CheckoutMetadata checkoutMetadata, ObjectLoader ol, WorkingTreeOptions opt, java.io.OutputStream os)Return filtered content for a specific object (blob).static DirCacheDirCache. lock(Repository repository, IndexChangedListener indexChangedListener)Create a new in-core index representation, lock it, and read from disk.static DirCacheDirCache. read(Repository repository)Create a new in-core index representation and read an index from disk.private static voidDirCacheCheckout. runBuiltinFilterCommand(Repository repo, DirCacheCheckout.CheckoutMetadata checkoutMetadata, ObjectLoader ol, java.io.OutputStream channel)private static voidDirCacheCheckout. runExternalFilterCommand(Repository repo, java.lang.String path, DirCacheCheckout.CheckoutMetadata checkoutMetadata, ObjectLoader ol, java.io.OutputStream channel)Constructors in org.eclipse.jgit.dircache with parameters of type Repository Constructor Description Checkout(Repository repo)Creates a newCheckoutfor checking out from the given repository.Checkout(Repository repo, WorkingTreeOptions options)Creates a newCheckoutfor checking out from the given repository.DirCacheCheckout(Repository repo, DirCache dc, ObjectId mergeCommitTree)Constructs a DirCacheCeckout for checking out one tree, merging with the index.DirCacheCheckout(Repository repo, DirCache dc, ObjectId mergeCommitTree, WorkingTreeIterator workingTree)Constructs a DirCacheCeckout for checking out one tree, merging with the index.DirCacheCheckout(Repository repo, ObjectId headCommitTree, DirCache dc, ObjectId mergeCommitTree)Constructs a DirCacheCeckout for merging and checking out two trees (HEAD and mergeCommitTree) and the index.DirCacheCheckout(Repository repo, ObjectId headCommitTree, DirCache dc, ObjectId mergeCommitTree, WorkingTreeIterator workingTree)Constructs a DirCacheCeckout for merging and checking out two trees (HEAD and mergeCommitTree) and the index. -
Uses of Repository in org.eclipse.jgit.events
Fields in org.eclipse.jgit.events declared as Repository Modifier and Type Field Description private RepositoryRepositoryEvent. repositoryMethods in org.eclipse.jgit.events that return Repository Modifier and Type Method Description RepositoryRepositoryEvent. getRepository()Get the repository that was changedMethods in org.eclipse.jgit.events with parameters of type Repository Modifier and Type Method Description voidRepositoryEvent. setRepository(Repository r)Set the repository this event occurred on. -
Uses of Repository in org.eclipse.jgit.gitrepo
Fields in org.eclipse.jgit.gitrepo declared as Repository Modifier and Type Field Description (package private) RepositoryRepoProject.ReferenceFile. repoprivate RepositoryManifestParser. rootRepoMethods in org.eclipse.jgit.gitrepo with parameters of type Repository Modifier and Type Method Description private static java.lang.StringRepoCommand. findRef(java.lang.String ref, Repository repo)Constructors in org.eclipse.jgit.gitrepo with parameters of type Repository Constructor Description CopyFile(Repository repo, java.lang.String path, java.lang.String src, java.lang.String dest)LinkFile(Repository repo, java.lang.String path, java.lang.String src, java.lang.String dest)ManifestParser(ManifestParser.IncludedFileReader includedReader, java.lang.String filename, java.lang.String defaultBranch, java.lang.String baseUrl, java.lang.String groups, Repository rootRepo)Constructor for ManifestParserReferenceFile(Repository repo, java.lang.String path, java.lang.String src, java.lang.String dest)RepoCommand(Repository repo)Constructor for RepoCommand -
Uses of Repository in org.eclipse.jgit.hooks
Fields in org.eclipse.jgit.hooks declared as Repository Modifier and Type Field Description private RepositoryGitHook. repoMethods in org.eclipse.jgit.hooks that return Repository Modifier and Type Method Description protected RepositoryGitHook. getRepository()Get the repositoryMethods in org.eclipse.jgit.hooks with parameters of type Repository Modifier and Type Method Description static CommitMsgHookHooks. commitMsg(Repository repo, java.io.PrintStream outputStream)Create commit-msg hook for the given repository with the default error streamstatic CommitMsgHookHooks. commitMsg(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)Create commit-msg hook for the given repositorystatic PostCommitHookHooks. postCommit(Repository repo, java.io.PrintStream outputStream)Create post-commit hook for the given repository with the default error streamstatic PostCommitHookHooks. postCommit(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)Create post-commit hook for the given repositorystatic PreCommitHookHooks. preCommit(Repository repo, java.io.PrintStream outputStream)Create pre-commit hook for the given repository with the default error streamstatic PreCommitHookHooks. preCommit(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)Create pre-commit hook for the given repositorystatic PrePushHookHooks. prePush(Repository repo, java.io.PrintStream outputStream)Create pre-push hook for the given repository with the default error streamstatic PrePushHookHooks. prePush(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)Create pre-push hook for the given repositoryConstructors in org.eclipse.jgit.hooks with parameters of type Repository Constructor Description CommitMsgHook(Repository repo, java.io.PrintStream outputStream)Constructor for CommitMsgHookCommitMsgHook(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)Constructor for CommitMsgHookGitHook(Repository repo, java.io.OutputStream outputStream)Constructor for GitHook.GitHook(Repository repo, java.io.OutputStream outputStream, java.io.OutputStream errorStream)Constructor for GitHookPostCommitHook(Repository repo, java.io.PrintStream outputStream)Constructor for PostCommitHookPostCommitHook(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)Constructor for PostCommitHookPreCommitHook(Repository repo, java.io.PrintStream outputStream)Constructor for PreCommitHookPreCommitHook(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)Constructor for PreCommitHookPrePushHook(Repository repo, java.io.PrintStream outputStream)Constructor for PrePushHookPrePushHook(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)Constructor for PrePushHook -
Uses of Repository in org.eclipse.jgit.http.server
Methods in org.eclipse.jgit.http.server that return Repository Modifier and Type Method Description static RepositoryServletUtils. getRepository(javax.servlet.ServletRequest req)Get the selected repository from the request.Methods in org.eclipse.jgit.http.server with parameters of type Repository Modifier and Type Method Description protected voidReceivePackServlet.InfoRefs. begin(javax.servlet.http.HttpServletRequest req, Repository db)protected abstract voidSmartServiceInfoRefs. begin(javax.servlet.http.HttpServletRequest req, Repository db)Begin service.protected voidUploadPackServlet.InfoRefs. begin(javax.servlet.http.HttpServletRequest req, Repository db)(package private) static java.lang.StringServletUtils. identify(Repository git)private static booleanIsLocalFilter. isLocal(Repository db)private voidReceivePackServlet. log(Repository git, java.lang.Throwable e)private voidUploadPackServlet. log(Repository git, java.lang.Throwable e) -
Uses of Repository in org.eclipse.jgit.http.server.resolver
Methods in org.eclipse.jgit.http.server.resolver with parameters of type Repository Modifier and Type Method Description voidAsIsFileService. access(javax.servlet.http.HttpServletRequest req, Repository db)Determine if access to any bare file of the repository is allowed.ReceivePackDefaultReceivePackFactory. create(javax.servlet.http.HttpServletRequest req, Repository db)Create and configure a new ReceivePack instance for a repository.UploadPackDefaultUploadPackFactory. create(javax.servlet.http.HttpServletRequest req, Repository db)Create and configure a new UploadPack instance for a repository.private static ReceivePackDefaultReceivePackFactory. createFor(javax.servlet.http.HttpServletRequest req, Repository db, java.lang.String user)protected static booleanAsIsFileService. isEnabled(Repository db)Determine ifhttp.getanyfileis enabled in the configuration. -
Uses of Repository in org.eclipse.jgit.http.test
Subclasses of Repository in org.eclipse.jgit.http.test Modifier and Type Class Description (package private) classRefsUnreadableInMemoryRepositoryAnInMemoryRepositorywhose refs can be made unreadable for testing purposes.Fields in org.eclipse.jgit.http.test with type parameters of type Repository Modifier and Type Field Description private TestRepository<Repository>TestRepositoryResolver. repoMethods in org.eclipse.jgit.http.test that return Repository Modifier and Type Method Description RepositoryTestRepositoryResolver. open(javax.servlet.http.HttpServletRequest req, java.lang.String name)Locate and open a reference to aRepository.Constructor parameters in org.eclipse.jgit.http.test with type arguments of type Repository Constructor Description TestRepositoryResolver(TestRepository<Repository> repo, java.lang.String repoName)Create a newTestRepositoryResolverthat resolves the given name to the given repository. -
Uses of Repository in org.eclipse.jgit.internal.storage.dfs
Subclasses of Repository in org.eclipse.jgit.internal.storage.dfs Modifier and Type Class Description classDfsRepositoryA Git repository on a DFS.classInMemoryRepositoryGit repository stored entirely in the local process memory. -
Uses of Repository in org.eclipse.jgit.internal.storage.file
Subclasses of Repository in org.eclipse.jgit.internal.storage.file Modifier and Type Class Description classFileRepositoryRepresents a Git repository.Fields in org.eclipse.jgit.internal.storage.file declared as Repository Modifier and Type Field Description (package private) RepositoryGlobalAttributesNode. repository(package private) RepositoryInfoAttributesNode. repositoryMethods in org.eclipse.jgit.internal.storage.file that return Repository Modifier and Type Method Description protected RepositoryFileReftableDatabase.FileReftableRefUpdate. getRepository()(package private) RepositoryRefDirectory. getRepository()protected RepositoryRefDirectoryUpdate. getRepository()Get the repository storing the database's objects.Methods in org.eclipse.jgit.internal.storage.file with parameters of type Repository Modifier and Type Method Description private static voidFileReftableDatabase. writeConvertTable(Repository repo, ReftableWriter w, boolean writeLogs)Constructors in org.eclipse.jgit.internal.storage.file with parameters of type Repository Constructor Description AttributesNodeProviderImpl(Repository repo)Constructor.FileReftableBatchRefUpdate(FileReftableDatabase db, Repository repository)GlobalAttributesNode(Repository repository)Constructor for GlobalAttributesNode.InfoAttributesNode(Repository repository)Constructor for InfoAttributesNode.ReflogReaderImpl(Repository db, java.lang.String refname) -
Uses of Repository in org.eclipse.jgit.internal.storage.pack
Constructors in org.eclipse.jgit.internal.storage.pack with parameters of type Repository Constructor Description PackWriter(Repository repo)Create writer for specified repository.PackWriter(Repository repo, ObjectReader reader)Create writer for specified repository. -
Uses of Repository in org.eclipse.jgit.internal.storage.reftable
Fields in org.eclipse.jgit.internal.storage.reftable declared as Repository Modifier and Type Field Description private RepositoryReftableBatchRefUpdate. repositoryConstructors in org.eclipse.jgit.internal.storage.reftable with parameters of type Repository Constructor Description ReftableBatchRefUpdate(RefDatabase refdb, ReftableDatabase reftableDb, java.util.concurrent.locks.Lock lock, Repository repository)Initialize.ReftableConfig(Repository db)Create a configuration honoring the repository's settings. -
Uses of Repository in org.eclipse.jgit.junit
Classes in org.eclipse.jgit.junit with type parameters of type Repository Modifier and Type Class Description classTestRepository<R extends Repository>Wrapper to make creating test data easier.Fields in org.eclipse.jgit.junit declared as Repository Modifier and Type Field Description private RTestRepository. dbFields in org.eclipse.jgit.junit with type parameters of type Repository Modifier and Type Field Description private java.util.Set<Repository>LocalDiskRepositoryTestCase. toCloseMethods in org.eclipse.jgit.junit with parameters of type Repository Modifier and Type Method Description voidLocalDiskRepositoryTestCase. addRepoToClose(Repository r)Adds a repository to the list of repositories which is closed at the end of the testsstatic booleanJGitTestUtil. check(Repository db, java.lang.String name)Check if file existsstatic voidJGitTestUtil. deleteTrashFile(Repository db, java.lang.String name)Delete a trash file.static java.lang.StringLocalDiskRepositoryTestCase. indexState(Repository repo, int includedOptions)Represent the state of the index in one String.static java.lang.StringJGitTestUtil. read(Repository db, java.lang.String name)Read a file's contentprotected intLocalDiskRepositoryTestCase. runHook(Repository db, java.io.File hook, java.lang.String... args)Run a hook script in the repository, returning the exit status.static java.nio.file.PathJGitTestUtil. writeLink(Repository db, java.lang.String link, java.lang.String target)Write a symbolic linkstatic java.io.FileJGitTestUtil. writeTrashFile(Repository db, java.lang.String name, java.lang.String data)Write a trash file.static java.io.FileJGitTestUtil. writeTrashFile(Repository db, java.lang.String subdir, java.lang.String name, java.lang.String data)Write a trash file. -
Uses of Repository in org.eclipse.jgit.junit.http
Fields in org.eclipse.jgit.junit.http declared as Repository Modifier and Type Field Description private RepositorySimpleHttpServer. dbMethods in org.eclipse.jgit.junit.http that return types with arguments of type Repository Modifier and Type Method Description protected TestRepository<Repository>HttpTestCase. createTestRepository()Create TestRepositoryMethods in org.eclipse.jgit.junit.http with parameters of type Repository Modifier and Type Method Description protected static voidHttpTestCase. fsck(Repository db, RevObject... tips)Run fsckprivate static java.lang.StringSimpleHttpServer. nameOf(Repository db)Constructors in org.eclipse.jgit.junit.http with parameters of type Repository Constructor Description SimpleHttpServer(Repository repository)Constructor forSimpleHttpServer.SimpleHttpServer(Repository repository, boolean withSsl)Constructor forSimpleHttpServer. -
Uses of Repository in org.eclipse.jgit.junit.ssh
Fields in org.eclipse.jgit.junit.ssh declared as Repository Modifier and Type Field Description protected RepositorySshTestGitServer. repositoryConstructors in org.eclipse.jgit.junit.ssh with parameters of type Repository Constructor Description SshTestGitServer(java.lang.String testUser, java.nio.file.Path testKey, Repository repository, byte[] hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.nio.file.Path testKey, Repository repository, java.security.KeyPair hostKey)Creates a ssh git test server.SshTestGitServer(java.lang.String testUser, java.security.PublicKey testKey, Repository repository, java.security.KeyPair hostKey)Creates a ssh git test server. -
Uses of Repository in org.eclipse.jgit.lfs
Fields in org.eclipse.jgit.lfs declared as Repository Modifier and Type Field Description private RepositoryInstallBuiltinLfsCommand. repositoryMethods in org.eclipse.jgit.lfs with parameters of type Repository Modifier and Type Method Description LfsFactory.LfsInputStreamBuiltinLFS. applyCleanFilter(Repository db, java.io.InputStream input, long length, Attribute attribute)ObjectLoaderBuiltinLFS. applySmudgeFilter(Repository db, ObjectLoader loader, Attribute attribute)static TemporaryBufferLfsBlobFilter. cleanLfsBlob(Repository db, java.io.InputStream originalContent)Run the LFS clean filter on the given stream and return a stream to the LFS pointer file buffer.static java.util.Collection<java.nio.file.Path>SmudgeFilter. downloadLfsResource(Lfs lfs, Repository db, LfsPointer... res)Download content which is hosted on a LFS serverPrePushHookBuiltinLFS. getPrePushHook(Repository repo, java.io.PrintStream outputStream)PrePushHookBuiltinLFS. getPrePushHook(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)booleanBuiltinLFS. isEnabled(Repository db)private booleanBuiltinLFS. isEnabled(Repository db, Attribute attribute)LfsFactory.LfsInstallCommandInstallBuiltinLfsCommand. setRepository(Repository repo)Set the repository to install LFS forstatic ObjectLoaderLfsBlobFilter. smudgeLfsBlob(Repository db, ObjectLoader loader)In case the givenObjectLoaderpoints to a LFS pointer file replace the loader with one pointing to the LFS media file contents.Constructors in org.eclipse.jgit.lfs with parameters of type Repository Constructor Description CleanFilter(Repository db, java.io.InputStream in, java.io.OutputStream out)Constructor for CleanFilter.Lfs(Repository db)Constructor for Lfs.LfsPrePushHook(Repository repo, java.io.PrintStream outputStream)LfsPrePushHook(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)SmudgeFilter(java.io.InputStream in, java.io.OutputStream out, Repository db)SmudgeFilter(Repository db, java.io.InputStream in, java.io.OutputStream out)Constructor for SmudgeFilter. -
Uses of Repository in org.eclipse.jgit.lfs.internal
Methods in org.eclipse.jgit.lfs.internal with parameters of type Repository Modifier and Type Method Description private static java.lang.StringLfsConnectionFactory. discoverLfsUrl(Repository db, java.lang.String purpose, java.util.Map<java.lang.String,java.lang.String> additionalHeaders, java.lang.String remoteUrl)static HttpConnectionLfsConnectionFactory. getLfsConnection(Repository db, java.lang.String method, java.lang.String purpose)Determine URL of LFS server by looking into config parameters lfs.url, lfs.[remote].url or remote.[remote].url.static HttpConnectionLfsConnectionFactory. getLfsContentConnection(Repository repo, Protocol.Action action, java.lang.String method)Create a connection for the specifiedProtocol.Action.private static java.lang.StringLfsConnectionFactory. getLfsUrl(Repository db, java.lang.String purpose, java.util.Map<java.lang.String,java.lang.String> additionalHeaders)private static Protocol.ExpiringActionLfsConnectionFactory. getSshAuthentication(Repository db, java.lang.String purpose, java.lang.String remoteUrl, URIish u) -
Uses of Repository in org.eclipse.jgit.lib
Classes in org.eclipse.jgit.lib with type parameters of type Repository Modifier and Type Class Description classBaseRepositoryBuilder<B extends BaseRepositoryBuilder,R extends Repository>Base builder to customize repository construction.Fields in org.eclipse.jgit.lib declared as Repository Modifier and Type Field Description protected RepositoryCLIRepositoryTestCase. dbTest repository, initialized for this test case.private RepositoryFileModeCache. repoprivate RepositoryRebaseTodoFile. repoprivate RepositoryIndexDiff. repositoryFields in org.eclipse.jgit.lib with type parameters of type Repository Modifier and Type Field Description private java.util.Map<RepositoryCache.Key,Repository>RepositoryCache. cacheMapMethods in org.eclipse.jgit.lib that return Repository Modifier and Type Method Description RepositoryFileModeCache. getRepository()Retrieves theRepository.protected abstract RepositoryRefUpdate. getRepository()Get the repository storing the database's objects.RepositoryRepositoryCache.FileKey. open(boolean mustExist)RepositoryRepositoryCache.Key. open(boolean mustExist)Called byRepositoryCache.open(Key)if it doesn't exist yet.static RepositoryRepositoryCache. open(RepositoryCache.Key location)Open an existing repository, reusing a cached instance if possible.static RepositoryRepositoryCache. open(RepositoryCache.Key location, boolean mustExist)Open a repository, reusing a cached instance if possible.private RepositoryRepositoryCache. openRepository(RepositoryCache.Key location, boolean mustExist)private RepositoryRepositoryCache. unregisterRepository(RepositoryCache.Key location)Methods in org.eclipse.jgit.lib with parameters of type Repository Modifier and Type Method Description static voidRepositoryCache. close(Repository db)Close and remove a repository from the cache.WorkingTreeIteratorIndexDiff.WorkingTreeIteratorFactory. getWorkingTreeIterator(Repository repo)(package private) static booleanRepositoryCache. isCached(Repository repo)private booleanRepositoryCache. isExpired(Repository db)static BranchTrackingStatusBranchTrackingStatus. of(Repository repository, java.lang.String branchName)Compute the tracking status for thebranchNameinrepository.private static byte[]BlobBasedConfig. read(Repository db, AnyObjectId blobId)private static byte[]BlobBasedConfig. read(Repository db, AnyObjectId treeish, java.lang.String path)static voidRepositoryCache. register(Repository db)Register one repository into the cache.private voidRepositoryCache. registerRepository(RepositoryCache.Key location, Repository db)static voidRepositoryCache. unregister(Repository db)Remove a repository from the cache.Constructors in org.eclipse.jgit.lib with parameters of type Repository Constructor Description BlobBasedConfig(Config base, Repository db, AnyObjectId objectId)Load a configuration file from a blob.BlobBasedConfig(Config base, Repository db, AnyObjectId treeish, java.lang.String path)Load a configuration file from a blob stored in a specific commit.FileModeCache(Repository repo)Creates a newFileModeCachefor aRepository.IndexDiff(Repository repository, java.lang.String revstr, WorkingTreeIterator workingTreeIterator)Construct an IndexDiffIndexDiff(Repository repository, ObjectId objectId, WorkingTreeIterator workingTreeIterator)Construct an IndexdiffPersonIdent(Repository repo)Creates new PersonIdent from config info in repository, with current time.RebaseTodoFile(Repository repo)Constructor for RebaseTodoFile. -
Uses of Repository in org.eclipse.jgit.merge
Fields in org.eclipse.jgit.merge declared as Repository Modifier and Type Field Description protected RepositoryMerger. dbThe repository this merger operates on.Methods in org.eclipse.jgit.merge that return Repository Modifier and Type Method Description RepositoryMerger. getRepository()Get the repository this merger operates on.protected RepositoryMerger. nonNullRepo()Get non-null repository instanceMethods in org.eclipse.jgit.merge with parameters of type Repository Modifier and Type Method Description static MergeConfigMergeConfig. getConfigForCurrentBranch(Repository repo)Get merge configuration for the current branch of the repositoryabstract MergerMergeStrategy. newMerger(Repository db)Create a new merge instance.abstract MergerMergeStrategy. newMerger(Repository db, boolean inCore)Create a new merge instance.MergerStrategyOneSided. newMerger(Repository db)Create a new merge instance.MergerStrategyOneSided. newMerger(Repository db, boolean inCore)Create a new merge instance.ThreeWayMergerStrategyRecursive. newMerger(Repository db)Create a new merge instance.ThreeWayMergerStrategyRecursive. newMerger(Repository db, boolean inCore)Create a new merge instance.ThreeWayMergerStrategyResolve. newMerger(Repository db)Create a new merge instance.ThreeWayMergerStrategyResolve. newMerger(Repository db, boolean inCore)Create a new merge instance.ThreeWayMergerStrategySimpleTwoWayInCore. newMerger(Repository db)Create a new merge instance.ThreeWayMergerStrategySimpleTwoWayInCore. newMerger(Repository db, boolean inCore)Create a new merge instance.abstract ThreeWayMergerThreeWayMergeStrategy. newMerger(Repository db)Create a new merge instance.abstract ThreeWayMergerThreeWayMergeStrategy. newMerger(Repository db, boolean inCore)Create a new merge instance.Constructors in org.eclipse.jgit.merge with parameters of type Repository Constructor Description InCoreMerger(Repository local)Merger(Repository local)Create a new merge instance for a repository.OneSide(Repository local, int index)RecursiveMerger(Repository local)Normal recursive merge, implies not inCoreRecursiveMerger(Repository local, boolean inCore)Normal recursive merge when you want a choice of DirCache placement inCoreResolveMerger(Repository local)Constructor for ResolveMerger.ResolveMerger(Repository local, boolean inCore)Constructor for ResolveMerger.ThreeWayMerger(Repository local)Create a new merge instance for a repository.ThreeWayMerger(Repository local, boolean inCore)Create a new merge instance for a repository. -
Uses of Repository in org.eclipse.jgit.notes
Fields in org.eclipse.jgit.notes declared as Repository Modifier and Type Field Description private RepositoryNoteMapMerger. dbConstructors in org.eclipse.jgit.notes with parameters of type Repository Constructor Description NoteMapMerger(Repository db)Constructs a NoteMapMerger withDefaultNoteMergeras the merger for notes and theMergeStrategy.RESOLVEas the strategy for resolving conflicts on non-notesNoteMapMerger(Repository db, NoteMerger noteMerger, MergeStrategy nonNotesMergeStrategy)Constructs a NoteMapMerger with customNoteMergerand customMergeStrategy. -
Uses of Repository in org.eclipse.jgit.pgm
Fields in org.eclipse.jgit.pgm declared as Repository Modifier and Type Field Description private RepositoryCLIGitCommand. dbprotected RepositoryTextBuiltin. dbGit repository the command was invoked within.Methods in org.eclipse.jgit.pgm that return Repository Modifier and Type Method Description RepositoryTextBuiltin. getRepository()Get the repositoryprotected RepositoryCLIGitCommand. openGitDir(java.lang.String aGitdir)protected RepositoryMain. openGitDir(java.lang.String aGitdir)Evaluate the--git-diroption and open the repository.Methods in org.eclipse.jgit.pgm with parameters of type Repository Modifier and Type Method Description static java.util.List<java.lang.String>CLIGitCommand. execute(java.lang.String str, Repository db)static CLIGitCommand.ResultCLIGitCommand. executeRaw(java.lang.String str, Repository db)static java.util.List<java.lang.String>CLIGitCommand. executeUnchecked(java.lang.String str, Repository db)private java.nio.charset.CharsetTextBuiltin. getLogOutputEncodingCharset(Repository repository)Get the log output encoding specified in the repository'si18n.logOutputEncodingconfiguration.protected voidDiff. init(Repository repository, java.lang.String gitDir)Initialize the command to work with a repository.protected voidLog. init(Repository repository, java.lang.String gitDir)Initialize the command to work with a repository.protected voidShow. init(Repository repository, java.lang.String gitDir)Initialize the command to work with a repository.protected voidTextBuiltin. init(Repository repository, java.lang.String gitDir)Initialize the command to work with a repository.voidTextBuiltin. initRaw(Repository repository, java.lang.String gitDir, java.io.InputStream input, java.io.OutputStream output, java.io.OutputStream error)Initializes the command to work with a repository, including setting the output and error streams.Constructors in org.eclipse.jgit.pgm with parameters of type Repository Constructor Description CLIGitCommand(Repository db) -
Uses of Repository in org.eclipse.jgit.pgm.debug
Methods in org.eclipse.jgit.pgm.debug with parameters of type Repository Modifier and Type Method Description private voidDiffAlgorithms. run(Repository repo)private voidTextHashFunctions. run(Repository repo) -
Uses of Repository in org.eclipse.jgit.pgm.opt
Fields in org.eclipse.jgit.pgm.opt declared as Repository Modifier and Type Field Description private RepositoryCmdLineParser. dbMethods in org.eclipse.jgit.pgm.opt that return Repository Modifier and Type Method Description RepositoryCmdLineParser. getRepository()Get the repository this parser translates values through.Constructors in org.eclipse.jgit.pgm.opt with parameters of type Repository Constructor Description CmdLineParser(java.lang.Object bean, Repository repo)Creates a new command line owner that parses arguments/options and set them into the given object. -
Uses of Repository in org.eclipse.jgit.revplot
Fields in org.eclipse.jgit.revplot declared as Repository Modifier and Type Field Description private RepositoryPlotWalk. repositoryConstructors in org.eclipse.jgit.revplot with parameters of type Repository Constructor Description PlotWalk(Repository repo)Create a new revision walker for a given repository. -
Uses of Repository in org.eclipse.jgit.revwalk
Constructors in org.eclipse.jgit.revwalk with parameters of type Repository Constructor Description ObjectWalk(Repository repo, int depth)ObjectWalk(Repository repo)Create a new revision and object walker for a given repository.RevWalk(Repository repo, int depth)RevWalk(Repository repo)Create a new revision walker for a given repository. -
Uses of Repository in org.eclipse.jgit.storage.file
Methods in org.eclipse.jgit.storage.file that return Repository Modifier and Type Method Description RepositoryFileRepositoryBuilder. build()Create a repository matching the configuration in this builder.static RepositoryFileRepositoryBuilder. create(java.io.File gitDir)Convenience factory method to construct aFileRepository. -
Uses of Repository in org.eclipse.jgit.storage.pack
Constructors in org.eclipse.jgit.storage.pack with parameters of type Repository Constructor Description PackConfig(Repository db)Create a configuration honoring the repository's settings. -
Uses of Repository in org.eclipse.jgit.submodule
Fields in org.eclipse.jgit.submodule declared as Repository Modifier and Type Field Description private RepositorySubmoduleWalk. repositoryMethods in org.eclipse.jgit.submodule that return Repository Modifier and Type Method Description RepositorySubmoduleWalk. getRepository()Get repository for current submodule entrystatic RepositorySubmoduleWalk. getSubmoduleRepository(java.io.File parent, java.lang.String path)Get submodule repository at pathstatic RepositorySubmoduleWalk. getSubmoduleRepository(java.io.File parent, java.lang.String path, FS fs)Get submodule repository at path, using the specified file system abstractionstatic RepositorySubmoduleWalk. getSubmoduleRepository(java.io.File parent, java.lang.String path, FS fs, BaseRepositoryBuilder<?,? extends Repository> builder)Get submodule repository at path, using the specified file system abstraction and the specified builderstatic RepositorySubmoduleWalk. getSubmoduleRepository(Repository parent, java.lang.String path)Get submodule repositoryMethods in org.eclipse.jgit.submodule that return types with arguments of type Repository Modifier and Type Method Description private BaseRepositoryBuilder<?,? extends Repository>SubmoduleWalk. getBuilder()Methods in org.eclipse.jgit.submodule with parameters of type Repository Modifier and Type Method Description static booleanSubmoduleWalk. containsGitModulesFile(Repository repository)Checks whether the working tree contains a .gitmodules file.static SubmoduleWalkSubmoduleWalk. forIndex(Repository repository)Create a generator to walk over the submodule entries currently in the index The.gitmodulesfile is read from the index.static SubmoduleWalkSubmoduleWalk. forPath(Repository repository, AnyObjectId treeId, java.lang.String path)Create a generator and advance it to the submodule entry at the given pathstatic SubmoduleWalkSubmoduleWalk. forPath(Repository repository, AbstractTreeIterator iterator, java.lang.String path)Create a generator and advance it to the submodule entry at the given pathstatic java.io.FileSubmoduleWalk. getSubmoduleDirectory(Repository parent, java.lang.String path)Get submodule directorystatic java.lang.StringSubmoduleWalk. getSubmoduleRemoteUrl(Repository parent, java.lang.String url)Resolve submodule repository URL.static RepositorySubmoduleWalk. getSubmoduleRepository(Repository parent, java.lang.String path)Get submodule repositoryMethod parameters in org.eclipse.jgit.submodule with type arguments of type Repository Modifier and Type Method Description static RepositorySubmoduleWalk. getSubmoduleRepository(java.io.File parent, java.lang.String path, FS fs, BaseRepositoryBuilder<?,? extends Repository> builder)Get submodule repository at path, using the specified file system abstraction and the specified builderConstructors in org.eclipse.jgit.submodule with parameters of type Repository Constructor Description SubmoduleWalk(Repository repository)Create submodule generator -
Uses of Repository in org.eclipse.jgit.transport
Fields in org.eclipse.jgit.transport declared as Repository Modifier and Type Field Description private RepositoryBundleWriter. dbprivate RepositoryPushCertificateParser. dbDatabase we write the push certificate into.private RepositoryPushCertificateStore. dbprivate RepositoryReceivePack. dbDatabase we write the stored objects into.private RepositoryUploadPack. dbDatabase we read the objects from.protected RepositoryBasePackConnection. localThe repository this transport fetches into, or pushes out of.protected RepositoryTransport. localThe repository this transport fetches into, or pushes out of.(package private) RepositoryWalkFetchConnection. localThe repository this transport fetches into, or pushes out of.private RepositoryWalkPushConnection. localThe repository this transport pushes out of.private RepositoryRemoteRefUpdate. localDb(package private) RepositoryTestProtocol.Handle. remoteprivate RepositoryConnectivityChecker.ConnectivityCheckInfo. repositoryprivate RepositoryRefAdvertiser. repositoryMethods in org.eclipse.jgit.transport that return Repository Modifier and Type Method Description RepositoryConnectivityChecker.ConnectivityCheckInfo. getRepository()RepositoryReceivePack. getRepository()Get the repository this receive completes into.RepositoryUploadPack. getRepository()Get the repository this upload is reading from.private RepositoryTransportLocal. openRepo()(package private) RepositoryDaemon. openRepository(DaemonClient client, java.lang.String name)Methods in org.eclipse.jgit.transport with parameters of type Repository Modifier and Type Method Description booleanTransportProtocol. canHandle(URIish uri, Repository local, java.lang.String remoteName)Determine if this protocol can handle a particular URI.java.lang.StringHMACSHA1NonceGenerator. createNonce(Repository repo, long timestamp)Create nonce to be signed by the pusherjava.lang.StringNonceGenerator. createNonce(Repository db, long timestamp)Create nonce to be signed by the pusher(package private) ReceivePackTransportLocal. createReceivePack(Repository dst)(package private) UploadPackTransportLocal. createUploadPack(Repository dst)(package private) abstract voidDaemonService. execute(DaemonClient client, Repository db, java.util.Collection<java.lang.String> extraParameters)private static java.util.Collection<RefSpec>Transport. expandPushWildcardsFor(Repository db, java.util.Collection<RefSpec> specs)static java.util.Collection<RemoteRefUpdate>Transport. findRemoteRefUpdatesFor(Repository db, java.util.Collection<RefSpec> specs, java.util.Collection<RefSpec> fetchSpecs)Convert push remote refs update specification fromRefSpecform toRemoteRefUpdate.static java.util.Collection<RemoteRefUpdate>Transport. findRemoteRefUpdatesFor(Repository db, java.util.Collection<RefSpec> specs, java.util.Map<java.lang.String,RefLeaseSpec> leases, java.util.Collection<RefSpec> fetchSpecs)Convert push remote refs update specification fromRefSpecform toRemoteRefUpdate.protected java.util.Set<ObjectId>AbstractAdvertiseRefsHook. getAdvertisedHaves(Repository repository, RevWalk revWalk)Get the additional haves to advertise.protected abstract java.util.Map<java.lang.String,Ref>AbstractAdvertiseRefsHook. getAdvertisedRefs(Repository repository, RevWalk revWalk)Get the refs to advertise.voidRefAdvertiser. init(Repository src)Initialize this advertiser with a repository for peeling tags.private booleanDaemonService. isEnabledFor(Repository db)TransportTestProtocol. open(URIish uri, Repository local, java.lang.String remoteName)Open a Transport instance to the other repository.static TransportTransport. open(Repository local, java.lang.String remote)Open a new transport instance to connect two repositories.static TransportTransport. open(Repository local, java.lang.String remote, Transport.Operation op)Open a new transport instance to connect two repositories.static TransportTransport. open(Repository local, RemoteConfig cfg)Open a new transport instance to connect two repositories.static TransportTransport. open(Repository local, RemoteConfig cfg, Transport.Operation op)Open a new transport instance to connect two repositories.static TransportTransport. open(Repository local, URIish uri)Open a new transport instance to connect two repositories.static TransportTransport. open(Repository local, URIish uri, java.lang.String remoteName)Open a new transport instance to connect two repositories.abstract TransportTransportProtocol. open(URIish uri, Repository local, java.lang.String remoteName)Open a Transport instance to the other repository.static java.util.List<Transport>Transport. openAll(Repository local, java.lang.String remote)Open new transport instances to connect two repositories.static java.util.List<Transport>Transport. openAll(Repository local, java.lang.String remote, Transport.Operation op)Open new transport instances to connect two repositories.static java.util.List<Transport>Transport. openAll(Repository local, RemoteConfig cfg)Open new transport instances to connect two repositories.static java.util.List<Transport>Transport. openAll(Repository local, RemoteConfig cfg, Transport.Operation op)Open new transport instances to connect two repositories.URIishTestProtocol. register(C req, Repository remote)Register a repository connection over the internal test protocol.voidConnectivityChecker.ConnectivityCheckInfo. setRepository(Repository repository)PushCertificate.NonceStatusHMACSHA1NonceGenerator. verify(java.lang.String received, java.lang.String sent, Repository db, boolean allowSlop, int slop)Verify trustworthiness of the received nonce.PushCertificate.NonceStatusNonceGenerator. verify(java.lang.String received, java.lang.String sent, Repository db, boolean allowSlop, int slop)Verify trustworthiness of the received nonce.Constructors in org.eclipse.jgit.transport with parameters of type Repository Constructor Description BundleWriter(Repository repo)Create a writer for a bundle.Handle(C req, Repository remote)HttpTransport(Repository local, URIish uri)Create a new transport instance.InternalFetchConnection(PackTransport transport, UploadPackFactory<C> uploadPackFactory, C req, Repository remote)Constructor for InternalFetchConnection.InternalPushConnection(PackTransport transport, ReceivePackFactory<C> receivePackFactory, C req, Repository remote)Constructor for InternalPushConnection.PushCertificateParser(Repository into, SignedPushConfig cfg)Constructor for PushCertificateParser.PushCertificateStore(Repository db)Create a new store backed by the given repository.ReceivePack(Repository into)Create a new pack receive for an open repository.RemoteRefUpdate(Repository localDb, java.lang.String srcRef, java.lang.String remoteName, boolean forceUpdate, java.lang.String localName, ObjectId expectedOldObjectId)Construct remote ref update request by providing an update specification.RemoteRefUpdate(Repository localDb, java.lang.String srcRef, ObjectId srcId, java.lang.String remoteName, boolean forceUpdate, java.lang.String localName, ObjectId expectedOldObjectId)Construct remote ref update request by providing an update specification.RemoteRefUpdate(Repository localDb, Ref srcRef, java.lang.String remoteName, boolean forceUpdate, java.lang.String localName, ObjectId expectedOldObjectId)Construct remote ref update request by providing an update specification.SshTransport(Repository local, URIish uri)Create a new transport instance.TcpTransport(Repository local, URIish uri)Create a new transport instance.TransferConfig(Repository db)Create a configuration honoring the repository's settings.Transport(Repository local, URIish uri)Create a new transport instance.TransportAmazonS3(Repository local, URIish uri)TransportBundleFile(Repository local, URIish uri, java.io.File bundlePath)TransportBundleStream(Repository db, URIish uri, java.io.InputStream in)Create a new transport to fetch objects from a streamed bundle.TransportGitAnon(Repository local, URIish uri)TransportGitSsh(Repository local, URIish uri)TransportHttp(Repository local, URIish uri)TransportInternal(Repository local, URIish uri, TestProtocol.Handle handle)TransportLocal(Repository local, URIish uri, java.io.File gitDir)TransportSftp(Repository local, URIish uri)UploadPack(Repository copyFrom)Create a new pack upload for an open repository. -
Uses of Repository in org.eclipse.jgit.transport.resolver
Fields in org.eclipse.jgit.transport.resolver with type parameters of type Repository Modifier and Type Field Description private java.util.Map<java.lang.String,Repository>FileResolver. exportsMethods in org.eclipse.jgit.transport.resolver that return Repository Modifier and Type Method Description RepositoryFileResolver. open(C req, java.lang.String name)Locate and open a reference to aRepository.RepositoryRepositoryResolver. open(C req, java.lang.String name)Locate and open a reference to aRepository.Methods in org.eclipse.jgit.transport.resolver with parameters of type Repository Modifier and Type Method Description ReceivePackReceivePackFactory. create(C req, Repository db)Create and configure a new ReceivePack instance for a repository.UploadPackUploadPackFactory. create(C req, Repository db)Create and configure a new UploadPack instance for a repository.voidFileResolver. exportRepository(java.lang.String name, Repository db)Add a single repository to the set that is exported by this daemon.protected booleanFileResolver. isExportOk(C req, java.lang.String repositoryName, Repository db)Check if this repository can be served. -
Uses of Repository in org.eclipse.jgit.treewalk
Fields in org.eclipse.jgit.treewalk declared as Repository Modifier and Type Field Description protected RepositoryWorkingTreeIterator. repositoryRepository that is the root level being iterated over(package private) RepositoryWorkingTreeIterator.RootIgnoreNode. repositoryMethods in org.eclipse.jgit.treewalk that return Repository Modifier and Type Method Description RepositoryWorkingTreeIterator. getRepository()Retrieves theRepositorythisWorkingTreeIteratoroperates on.Methods in org.eclipse.jgit.treewalk with parameters of type Repository Modifier and Type Method Description static TreeWalkTreeWalk. forPath(Repository db, java.lang.String path, AnyObjectId... trees)Open a tree walk and filter to exactly one path.static TreeWalkTreeWalk. forPath(Repository db, java.lang.String path, RevTree tree)Open a tree walk and filter to exactly one path.static TreeWalkTreeWalk. forPath(Repository repo, ObjectReader reader, java.lang.String path, AnyObjectId... trees)Open a tree walk and filter to exactly one path.protected voidWorkingTreeIterator. initRootIterator(Repository repo)Initialize this iterator for the root level of a repository.Constructors in org.eclipse.jgit.treewalk with parameters of type Repository Constructor Description FileTreeIterator(Repository repo)Create a new iterator to traverse the work tree and its children.FileTreeIterator(Repository repo, FileTreeIterator.FileModeStrategy fileModeStrategy)Create a new iterator to traverse the work tree and its children.NameConflictTreeWalk(Repository repo)Create a new tree walker for a given repository.NameConflictTreeWalk(Repository repo, ObjectReader or)Create a new tree walker for a given repository.RootIgnoreNode(WorkingTreeIterator.Entry entry, Repository repository)TreeWalk(Repository repo)Create a new tree walker for a given repository.TreeWalk(Repository repo, ObjectReader or)Create a new tree walker for a given repository.TreeWalk(Repository repo, ObjectReader or, boolean closeReader) -
Uses of Repository in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util with parameters of type Repository Modifier and Type Method Description LfsFactory.LfsInputStreamLfsFactory. applyCleanFilter(Repository db, java.io.InputStream input, long length, Attribute attribute)Apply clean filtering to the given stream, writing the file content to the LFS storage if required and returning a stream to the LFS pointer instead.ObjectLoaderLfsFactory. applySmudgeFilter(Repository db, ObjectLoader loader, Attribute attribute)Apply smudge filtering to a given loader, potentially redirecting it to a LFS blob which is downloaded on demand.java.io.FileFS. findHook(Repository repository, java.lang.String hookName)Tries to find a hook matching the given one in the given repository.static AttributesLfsFactory. getAttributesForPath(Repository db, java.lang.String path)static AttributesLfsFactory. getAttributesForPath(Repository db, java.lang.String path, RevCommit commit)Get attributes for given path and commitprivate java.io.FileFS. getHooksDirectory(Repository repository)PrePushHookLfsFactory. getPrePushHook(Repository repo, java.io.PrintStream outputStream)Retrieve a pre-push hook to be applied using the default error stream.PrePushHookLfsFactory. getPrePushHook(Repository repo, java.io.PrintStream outputStream, java.io.PrintStream errorStream)Retrieve a pre-push hook to be applied.private java.io.FileFS. getRunDirectory(Repository repository, java.lang.String hookName)protected ProcessResultFS. internalRunHookIfPresent(Repository repository, java.lang.String hookName, java.lang.String[] args, java.io.OutputStream outRedirect, java.io.OutputStream errRedirect, java.lang.String stdinArgs)booleanLfsFactory. isEnabled(Repository db)ProcessResultFS_POSIX. runHookIfPresent(Repository repository, java.lang.String hookName, java.lang.String[] args, java.io.OutputStream outRedirect, java.io.OutputStream errRedirect, java.lang.String stdinArgs)Checks whether the given hook is defined for the given repository, then runs it with the given arguments.ProcessResultFS_Win32_Cygwin. runHookIfPresent(Repository repository, java.lang.String hookName, java.lang.String[] args, java.io.OutputStream outRedirect, java.io.OutputStream errRedirect, java.lang.String stdinArgs)Checks whether the given hook is defined for the given repository, then runs it with the given arguments.ProcessResultFS. runHookIfPresent(Repository repository, java.lang.String hookName, java.lang.String[] args)Checks whether the given hook is defined for the given repository, then runs it with the given arguments.ProcessResultFS. runHookIfPresent(Repository repository, java.lang.String hookName, java.lang.String[] args, java.io.OutputStream outRedirect, java.io.OutputStream errRedirect, java.lang.String stdinArgs)Checks whether the given hook is defined for the given repository, then runs it with the given arguments.LfsFactory.LfsInstallCommandLfsFactory.LfsInstallCommand. setRepository(Repository repo)
-