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 protected Repository
GitCommand. repo
The repository this command is working withMethods in org.eclipse.jgit.api that return Repository Modifier and Type Method Description Repository
SubmoduleAddCommand. call()
Repository
Git. getRepository()
Get repositoryRepository
GitCommand. getRepository()
Get repository this command is working onMethods in org.eclipse.jgit.api with parameters of type Repository Modifier and Type Method Description protected String
SubmoduleSyncCommand. getHeadBranch(Repository subRepo)
Get branch that HEAD currently points tostatic Git
Git. 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 AddNoteCommandArchiveCommand(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 newGit
object which can interact with the specified git repository.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 newVerifySignatureCommand
for 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 FilterCommand
FilterCommandFactory. create(Repository db, InputStream in, OutputStream out)
Create a newFilterCommand
.static FilterCommand
FilterCommandRegistry. createFilterCommand(String filterCommandName, Repository db, InputStream in, OutputStream out)
Create a newFilterCommand
for the given name. -
Uses of Repository in org.eclipse.jgit.blame
Methods in org.eclipse.jgit.blame that return Repository Modifier and Type Method Description Repository
BlameGenerator. getRepository()
Get repositoryConstructors in org.eclipse.jgit.blame with parameters of type Repository Constructor Description BlameGenerator(Repository repository, String path)
Create a blame generator for the repository and path (relative to repository) -
Uses of Repository in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff with parameters of type Repository Modifier and Type Method Description void
DiffFormatter. 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
Methods in org.eclipse.jgit.dircache with parameters of type Repository Modifier and Type Method Description static void
DirCacheCheckout. checkoutEntry(Repository repo, DirCacheEntry entry, ObjectReader or)
Deprecated.static void
DirCacheCheckout. 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 void
DirCacheCheckout. getContent(Repository repo, String path, DirCacheCheckout.CheckoutMetadata checkoutMetadata, ObjectLoader ol, WorkingTreeOptions opt, OutputStream os)
Return filtered content for a specific object (blob).static DirCache
DirCache. lock(Repository repository, IndexChangedListener indexChangedListener)
Create a new in-core index representation, lock it, and read from disk.static DirCache
DirCache. read(Repository repository)
Create a new in-core index representation and read an index from disk.Constructors in org.eclipse.jgit.dircache with parameters of type Repository Constructor Description 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
Methods in org.eclipse.jgit.events that return Repository Modifier and Type Method Description Repository
RepositoryEvent. getRepository()
Get the repository that was changedMethods in org.eclipse.jgit.events with parameters of type Repository Modifier and Type Method Description void
RepositoryEvent. setRepository(Repository r)
Set the repository this event occurred on. -
Uses of Repository in org.eclipse.jgit.gitrepo
Constructors in org.eclipse.jgit.gitrepo with parameters of type Repository Constructor Description CopyFile(Repository repo, String path, String src, String dest)
LinkFile(Repository repo, String path, String src, String dest)
ManifestParser(ManifestParser.IncludedFileReader includedReader, String filename, String defaultBranch, String baseUrl, String groups, Repository rootRepo)
Constructor for ManifestParserReferenceFile(Repository repo, String path, String src, String dest)
RepoCommand(Repository repo)
Constructor for RepoCommand -
Uses of Repository in org.eclipse.jgit.hooks
Methods in org.eclipse.jgit.hooks that return Repository Modifier and Type Method Description protected Repository
GitHook. getRepository()
Get the repositoryMethods in org.eclipse.jgit.hooks with parameters of type Repository Modifier and Type Method Description static CommitMsgHook
Hooks. commitMsg(Repository repo, PrintStream outputStream)
Create commit-msg hook for the given repository with the default error streamstatic CommitMsgHook
Hooks. commitMsg(Repository repo, PrintStream outputStream, PrintStream errorStream)
Create commit-msg hook for the given repositorystatic PostCommitHook
Hooks. postCommit(Repository repo, PrintStream outputStream)
Create post-commit hook for the given repository with the default error streamstatic PostCommitHook
Hooks. postCommit(Repository repo, PrintStream outputStream, PrintStream errorStream)
Create post-commit hook for the given repositorystatic PreCommitHook
Hooks. preCommit(Repository repo, PrintStream outputStream)
Create pre-commit hook for the given repository with the default error streamstatic PreCommitHook
Hooks. preCommit(Repository repo, PrintStream outputStream, PrintStream errorStream)
Create pre-commit hook for the given repositorystatic PrePushHook
Hooks. prePush(Repository repo, PrintStream outputStream)
Create pre-push hook for the given repository with the default error streamstatic PrePushHook
Hooks. prePush(Repository repo, PrintStream outputStream, 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, PrintStream outputStream)
Constructor for CommitMsgHookCommitMsgHook(Repository repo, PrintStream outputStream, PrintStream errorStream)
Constructor for CommitMsgHookGitHook(Repository repo, OutputStream outputStream)
Constructor for GitHook.GitHook(Repository repo, OutputStream outputStream, OutputStream errorStream)
Constructor for GitHookPostCommitHook(Repository repo, PrintStream outputStream)
Constructor for PostCommitHookPostCommitHook(Repository repo, PrintStream outputStream, PrintStream errorStream)
Constructor for PostCommitHookPreCommitHook(Repository repo, PrintStream outputStream)
Constructor for PreCommitHookPreCommitHook(Repository repo, PrintStream outputStream, PrintStream errorStream)
Constructor for PreCommitHookPrePushHook(Repository repo, PrintStream outputStream)
Constructor for PrePushHookPrePushHook(Repository repo, PrintStream outputStream, 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 Repository
ServletUtils. getRepository(javax.servlet.ServletRequest req)
Get the selected repository from the request. -
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 void
AsIsFileService. access(javax.servlet.http.HttpServletRequest req, Repository db)
Determine if access to any bare file of the repository is allowed.ReceivePack
DefaultReceivePackFactory. create(javax.servlet.http.HttpServletRequest req, Repository db)
Create and configure a new ReceivePack instance for a repository.UploadPack
DefaultUploadPackFactory. create(javax.servlet.http.HttpServletRequest req, Repository db)
Create and configure a new UploadPack instance for a repository.protected static boolean
AsIsFileService. isEnabled(Repository db)
Determine ifhttp.getanyfile
is enabled in the configuration. -
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 class
DfsRepository
A Git repository on a DFS.class
InMemoryRepository
Git 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 class
FileRepository
Represents a Git repository.Constructors in org.eclipse.jgit.internal.storage.file with parameters of type Repository Constructor Description GlobalAttributesNode(Repository repository)
Constructor for GlobalAttributesNode.InfoAttributesNode(Repository repository)
Constructor for InfoAttributesNode. -
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
Constructors in org.eclipse.jgit.internal.storage.reftable with parameters of type Repository Constructor Description ReftableBatchRefUpdate(RefDatabase refdb, ReftableDatabase reftableDb, 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 class
TestRepository<R extends Repository>
Wrapper to make creating test data easier.Methods in org.eclipse.jgit.junit with parameters of type Repository Modifier and Type Method Description void
LocalDiskRepositoryTestCase. addRepoToClose(Repository r)
Adds a repository to the list of repositories which is closed at the end of the testsstatic boolean
JGitTestUtil. check(Repository db, String name)
Check if file existsstatic void
JGitTestUtil. deleteTrashFile(Repository db, String name)
Delete a trash file.static String
LocalDiskRepositoryTestCase. indexState(Repository repo, int includedOptions)
Represent the state of the index in one String.static String
JGitTestUtil. read(Repository db, String name)
Read a file's contentprotected int
LocalDiskRepositoryTestCase. runHook(Repository db, File hook, String... args)
Run a hook script in the repository, returning the exit status.static Path
JGitTestUtil. writeLink(Repository db, String link, String target)
Write a symbolic linkstatic File
JGitTestUtil. writeTrashFile(Repository db, String name, String data)
Write a trash file.static File
JGitTestUtil. writeTrashFile(Repository db, String subdir, String name, String data)
Write a trash file. -
Uses of Repository in org.eclipse.jgit.junit.http
Methods 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 void
HttpTestCase. fsck(Repository db, RevObject... tips)
Run fsckConstructors 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 Repository
SshTestGitServer. repository
Constructors in org.eclipse.jgit.junit.ssh with parameters of type Repository Constructor Description SshTestGitServer(String testUser, Path testKey, Repository repository, byte[] hostKey)
Creates a ssh git test server.SshTestGitServer(String testUser, Path testKey, Repository repository, KeyPair hostKey)
Creates a ssh git test server.SshTestGitServer(String testUser, PublicKey testKey, Repository repository, KeyPair hostKey)
Creates a ssh git test server. -
Uses of Repository in org.eclipse.jgit.lfs
Methods in org.eclipse.jgit.lfs with parameters of type Repository Modifier and Type Method Description LfsFactory.LfsInputStream
BuiltinLFS. applyCleanFilter(Repository db, InputStream input, long length, Attribute attribute)
ObjectLoader
BuiltinLFS. applySmudgeFilter(Repository db, ObjectLoader loader, Attribute attribute)
static TemporaryBuffer
LfsBlobFilter. cleanLfsBlob(Repository db, InputStream originalContent)
Run the LFS clean filter on the given stream and return a stream to the LFS pointer file buffer.static Collection<Path>
SmudgeFilter. downloadLfsResource(Lfs lfs, Repository db, LfsPointer... res)
Download content which is hosted on a LFS serverPrePushHook
BuiltinLFS. getPrePushHook(Repository repo, PrintStream outputStream)
PrePushHook
BuiltinLFS. getPrePushHook(Repository repo, PrintStream outputStream, PrintStream errorStream)
boolean
BuiltinLFS. isEnabled(Repository db)
LfsFactory.LfsInstallCommand
InstallBuiltinLfsCommand. setRepository(Repository repo)
Set the repository to install LFS forstatic ObjectLoader
LfsBlobFilter. smudgeLfsBlob(Repository db, ObjectLoader loader)
In case the givenObjectLoader
points 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, InputStream in, OutputStream out)
Constructor for CleanFilter.Lfs(Repository db)
Constructor for Lfs.LfsPrePushHook(Repository repo, PrintStream outputStream)
LfsPrePushHook(Repository repo, PrintStream outputStream, PrintStream errorStream)
SmudgeFilter(Repository db, InputStream in, 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 static HttpConnection
LfsConnectionFactory. getLfsConnection(Repository db, String method, String purpose)
Determine URL of LFS server by looking into config parameters lfs.url, lfs.[remote].url or remote.[remote].url.static HttpConnection
LfsConnectionFactory. getLfsContentConnection(Repository repo, Protocol.Action action, String method)
Create a connection for the specifiedProtocol.Action
. -
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 class
BaseRepositoryBuilder<B extends BaseRepositoryBuilder,R extends Repository>
Base builder to customize repository construction.Methods in org.eclipse.jgit.lib that return Repository Modifier and Type Method Description protected abstract Repository
RefUpdate. getRepository()
Get the repository storing the database's objects.Repository
RepositoryCache.FileKey. open(boolean mustExist)
Repository
RepositoryCache.Key. open(boolean mustExist)
Called byRepositoryCache.open(Key)
if it doesn't exist yet.static Repository
RepositoryCache. open(RepositoryCache.Key location)
Open an existing repository, reusing a cached instance if possible.static Repository
RepositoryCache. open(RepositoryCache.Key location, boolean mustExist)
Open a repository, reusing a cached instance if possible.Methods in org.eclipse.jgit.lib with parameters of type Repository Modifier and Type Method Description static void
RepositoryCache. close(Repository db)
Close and remove a repository from the cache.String
CommitConfig. getCommitTemplateContent(Repository repository)
Get the content to the commit template as defined incommit.template
.WorkingTreeIterator
IndexDiff.WorkingTreeIteratorFactory. getWorkingTreeIterator(Repository repo)
static BranchTrackingStatus
BranchTrackingStatus. of(Repository repository, String branchName)
Compute the tracking status for thebranchName
inrepository
.static void
RepositoryCache. register(Repository db)
Register one repository into the cache.static void
RepositoryCache. 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, String path)
Load a configuration file from a blob stored in a specific commit.IndexDiff(Repository repository, 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 Repository
Merger. db
The repository this merger operates on.Methods in org.eclipse.jgit.merge that return Repository Modifier and Type Method Description Repository
Merger. getRepository()
Get the repository this merger operates on.protected Repository
Merger. nonNullRepo()
Get non-null repository instanceMethods in org.eclipse.jgit.merge with parameters of type Repository Modifier and Type Method Description static MergeConfig
MergeConfig. getConfigForCurrentBranch(Repository repo)
Get merge configuration for the current branch of the repositoryabstract Merger
MergeStrategy. newMerger(Repository db)
Create a new merge instance.abstract Merger
MergeStrategy. newMerger(Repository db, boolean inCore)
Create a new merge instance.Merger
StrategyOneSided. newMerger(Repository db)
Create a new merge instance.Merger
StrategyOneSided. newMerger(Repository db, boolean inCore)
Create a new merge instance.ThreeWayMerger
StrategyRecursive. newMerger(Repository db)
Create a new merge instance.ThreeWayMerger
StrategyRecursive. newMerger(Repository db, boolean inCore)
Create a new merge instance.ThreeWayMerger
StrategyResolve. newMerger(Repository db)
Create a new merge instance.ThreeWayMerger
StrategyResolve. newMerger(Repository db, boolean inCore)
Create a new merge instance.ThreeWayMerger
StrategySimpleTwoWayInCore. newMerger(Repository db)
Create a new merge instance.ThreeWayMerger
StrategySimpleTwoWayInCore. newMerger(Repository db, boolean inCore)
Create a new merge instance.abstract ThreeWayMerger
ThreeWayMergeStrategy. newMerger(Repository db)
Create a new merge instance.abstract ThreeWayMerger
ThreeWayMergeStrategy. newMerger(Repository db, boolean inCore)
Create a new merge instance.Constructors in org.eclipse.jgit.merge with parameters of type Repository Constructor Description Merger(Repository local)
Create a new merge instance for a repository.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
Constructors in org.eclipse.jgit.notes with parameters of type Repository Constructor Description NoteMapMerger(Repository db)
Constructs a NoteMapMerger withDefaultNoteMerger
as the merger for notes and theMergeStrategy.RESOLVE
as the strategy for resolving conflicts on non-notesNoteMapMerger(Repository db, NoteMerger noteMerger, MergeStrategy nonNotesMergeStrategy)
Constructs a NoteMapMerger with customNoteMerger
and customMergeStrategy
. -
Uses of Repository in org.eclipse.jgit.pgm
Fields in org.eclipse.jgit.pgm declared as Repository Modifier and Type Field Description protected Repository
TextBuiltin. db
Git repository the command was invoked within.Methods in org.eclipse.jgit.pgm that return Repository Modifier and Type Method Description Repository
TextBuiltin. getRepository()
Get the repositoryprotected Repository
Main. openGitDir(String aGitdir)
Evaluate the--git-dir
option and open the repository.Methods in org.eclipse.jgit.pgm with parameters of type Repository Modifier and Type Method Description protected void
TextBuiltin. init(Repository repository, String gitDir)
Initialize the command to work with a repository.void
TextBuiltin. initRaw(Repository repository, String gitDir, InputStream input, OutputStream output, OutputStream error)
Initializes the command to work with a repository, including setting the output and error streams. -
Uses of Repository in org.eclipse.jgit.pgm.opt
Methods in org.eclipse.jgit.pgm.opt that return Repository Modifier and Type Method Description Repository
CmdLineParser. getRepository()
Get the repository this parser translates values through.Constructors in org.eclipse.jgit.pgm.opt with parameters of type Repository Constructor Description CmdLineParser(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
Constructors 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 Repository
FileRepositoryBuilder. build()
Create a repository matching the configuration in this builder.static Repository
FileRepositoryBuilder. create(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
Methods in org.eclipse.jgit.submodule that return Repository Modifier and Type Method Description Repository
SubmoduleWalk. getRepository()
Get repository for current submodule entrystatic Repository
SubmoduleWalk. getSubmoduleRepository(File parent, String path)
Get submodule repository at pathstatic Repository
SubmoduleWalk. getSubmoduleRepository(File parent, String path, FS fs)
Get submodule repository at path, using the specified file system abstractionstatic Repository
SubmoduleWalk. getSubmoduleRepository(File parent, String path, FS fs, BaseRepositoryBuilder<?,? extends Repository> builder)
Get submodule repository at path, using the specified file system abstraction and the specified builderstatic Repository
SubmoduleWalk. getSubmoduleRepository(Repository parent, String path)
Get submodule repositoryMethods in org.eclipse.jgit.submodule with parameters of type Repository Modifier and Type Method Description static boolean
SubmoduleWalk. containsGitModulesFile(Repository repository)
Checks whether the working tree contains a .gitmodules file.static SubmoduleWalk
SubmoduleWalk. forIndex(Repository repository)
Create a generator to walk over the submodule entries currently in the index The.gitmodules
file is read from the index.static SubmoduleWalk
SubmoduleWalk. forPath(Repository repository, AnyObjectId treeId, String path)
Create a generator and advance it to the submodule entry at the given pathstatic SubmoduleWalk
SubmoduleWalk. forPath(Repository repository, AbstractTreeIterator iterator, String path)
Create a generator and advance it to the submodule entry at the given pathstatic File
SubmoduleWalk. getSubmoduleDirectory(Repository parent, String path)
Get submodule directorystatic String
SubmoduleWalk. getSubmoduleRemoteUrl(Repository parent, String url)
Resolve submodule repository URL.static Repository
SubmoduleWalk. getSubmoduleRepository(Repository parent, String path)
Get submodule repositoryMethod parameters in org.eclipse.jgit.submodule with type arguments of type Repository Modifier and Type Method Description static Repository
SubmoduleWalk. getSubmoduleRepository(File parent, 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 protected Repository
BasePackConnection. local
The repository this transport fetches into, or pushes out of.protected Repository
BasePackConnection. local
The repository this transport fetches into, or pushes out of.protected Repository
Transport. local
The repository this transport fetches into, or pushes out of.Methods in org.eclipse.jgit.transport that return Repository Modifier and Type Method Description Repository
ConnectivityChecker.ConnectivityCheckInfo. getRepository()
Repository
ReceivePack. getRepository()
Get the repository this receive completes into.Repository
UploadPack. getRepository()
Get the repository this upload is reading from.Methods in org.eclipse.jgit.transport with parameters of type Repository Modifier and Type Method Description boolean
TransportProtocol. canHandle(URIish uri, Repository local, String remoteName)
Determine if this protocol can handle a particular URI.String
HMACSHA1NonceGenerator. createNonce(Repository repo, long timestamp)
Create nonce to be signed by the pusherString
NonceGenerator. createNonce(Repository db, long timestamp)
Create nonce to be signed by the pusherstatic Collection<RemoteRefUpdate>
Transport. findRemoteRefUpdatesFor(Repository db, Collection<RefSpec> specs, Collection<RefSpec> fetchSpecs)
Convert push remote refs update specification fromRefSpec
form toRemoteRefUpdate
.static Collection<RemoteRefUpdate>
Transport. findRemoteRefUpdatesFor(Repository db, Collection<RefSpec> specs, Map<String,RefLeaseSpec> leases, Collection<RefSpec> fetchSpecs)
Convert push remote refs update specification fromRefSpec
form toRemoteRefUpdate
.protected Set<ObjectId>
AbstractAdvertiseRefsHook. getAdvertisedHaves(Repository repository, RevWalk revWalk)
Get the additional haves to advertise.protected abstract Map<String,Ref>
AbstractAdvertiseRefsHook. getAdvertisedRefs(Repository repository, RevWalk revWalk)
Get the refs to advertise.void
RefAdvertiser. init(Repository src)
Initialize this advertiser with a repository for peeling tags.Transport
TestProtocol. open(URIish uri, Repository local, String remoteName)
Open a Transport instance to the other repository.static Transport
Transport. open(Repository local, String remote)
Open a new transport instance to connect two repositories.static Transport
Transport. open(Repository local, String remote, Transport.Operation op)
Open a new transport instance to connect two repositories.static Transport
Transport. open(Repository local, RemoteConfig cfg)
Open a new transport instance to connect two repositories.static Transport
Transport. open(Repository local, RemoteConfig cfg, Transport.Operation op)
Open a new transport instance to connect two repositories.static Transport
Transport. open(Repository local, URIish uri)
Open a new transport instance to connect two repositories.static Transport
Transport. open(Repository local, URIish uri, String remoteName)
Open a new transport instance to connect two repositories.abstract Transport
TransportProtocol. open(URIish uri, Repository local, String remoteName)
Open a Transport instance to the other repository.static List<Transport>
Transport. openAll(Repository local, String remote)
Open new transport instances to connect two repositories.static List<Transport>
Transport. openAll(Repository local, String remote, Transport.Operation op)
Open new transport instances to connect two repositories.static List<Transport>
Transport. openAll(Repository local, RemoteConfig cfg)
Open new transport instances to connect two repositories.static List<Transport>
Transport. openAll(Repository local, RemoteConfig cfg, Transport.Operation op)
Open new transport instances to connect two repositories.URIish
TestProtocol. register(C req, Repository remote)
Register a repository connection over the internal test protocol.void
ConnectivityChecker.ConnectivityCheckInfo. setRepository(Repository repository)
PushCertificate.NonceStatus
HMACSHA1NonceGenerator. verify(String received, String sent, Repository db, boolean allowSlop, int slop)
Verify trustworthiness of the received nonce.PushCertificate.NonceStatus
NonceGenerator. verify(String received, 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.HttpTransport(Repository local, URIish uri)
Create a new transport instance.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, String srcRef, String remoteName, boolean forceUpdate, String localName, ObjectId expectedOldObjectId)
Construct remote ref update request by providing an update specification.RemoteRefUpdate(Repository localDb, String srcRef, ObjectId srcId, String remoteName, boolean forceUpdate, String localName, ObjectId expectedOldObjectId)
Construct remote ref update request by providing an update specification.RemoteRefUpdate(Repository localDb, Ref srcRef, String remoteName, boolean forceUpdate, 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.TransportBundleStream(Repository db, URIish uri, InputStream in)
Create a new transport to fetch objects from a streamed bundle.UploadPack(Repository copyFrom)
Create a new pack upload for an open repository. -
Uses of Repository in org.eclipse.jgit.transport.resolver
Methods in org.eclipse.jgit.transport.resolver that return Repository Modifier and Type Method Description Repository
FileResolver. open(C req, String name)
Locate and open a reference to aRepository
.Repository
RepositoryResolver. open(C req, 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 ReceivePack
ReceivePackFactory. create(C req, Repository db)
Create and configure a new ReceivePack instance for a repository.UploadPack
UploadPackFactory. create(C req, Repository db)
Create and configure a new UploadPack instance for a repository.void
FileResolver. exportRepository(String name, Repository db)
Add a single repository to the set that is exported by this daemon.protected boolean
FileResolver. isExportOk(C req, 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 Repository
WorkingTreeIterator. repository
Repository that is the root level being iterated overMethods in org.eclipse.jgit.treewalk that return Repository Modifier and Type Method Description Repository
WorkingTreeIterator. getRepository()
Retrieves theRepository
thisWorkingTreeIterator
operates on.Methods in org.eclipse.jgit.treewalk with parameters of type Repository Modifier and Type Method Description static TreeWalk
TreeWalk. forPath(Repository db, String path, AnyObjectId... trees)
Open a tree walk and filter to exactly one path.static TreeWalk
TreeWalk. forPath(Repository db, String path, RevTree tree)
Open a tree walk and filter to exactly one path.static TreeWalk
TreeWalk. forPath(Repository repo, ObjectReader reader, String path, AnyObjectId... trees)
Open a tree walk and filter to exactly one path.protected void
WorkingTreeIterator. 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.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. -
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.LfsInputStream
LfsFactory. applyCleanFilter(Repository db, 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.ObjectLoader
LfsFactory. 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.File
FS. findHook(Repository repository, String hookName)
Tries to find a hook matching the given one in the given repository.static Attributes
LfsFactory. getAttributesForPath(Repository db, String path)
static Attributes
LfsFactory. getAttributesForPath(Repository db, String path, RevCommit commit)
Get attributes for given path and commitPrePushHook
LfsFactory. getPrePushHook(Repository repo, PrintStream outputStream)
Retrieve a pre-push hook to be applied using the default error stream.PrePushHook
LfsFactory. getPrePushHook(Repository repo, PrintStream outputStream, PrintStream errorStream)
Retrieve a pre-push hook to be applied.protected ProcessResult
FS. internalRunHookIfPresent(Repository repository, String hookName, String[] args, OutputStream outRedirect, OutputStream errRedirect, String stdinArgs)
boolean
LfsFactory. isEnabled(Repository db)
ProcessResult
FS_POSIX. runHookIfPresent(Repository repository, String hookName, String[] args, OutputStream outRedirect, OutputStream errRedirect, String stdinArgs)
Checks whether the given hook is defined for the given repository, then runs it with the given arguments.ProcessResult
FS_Win32_Cygwin. runHookIfPresent(Repository repository, String hookName, String[] args, OutputStream outRedirect, OutputStream errRedirect, String stdinArgs)
Checks whether the given hook is defined for the given repository, then runs it with the given arguments.ProcessResult
FS. runHookIfPresent(Repository repository, String hookName, String[] args)
Checks whether the given hook is defined for the given repository, then runs it with the given arguments.ProcessResult
FS. runHookIfPresent(Repository repository, String hookName, String[] args, OutputStream outRedirect, OutputStream errRedirect, String stdinArgs)
Checks whether the given hook is defined for the given repository, then runs it with the given arguments.LfsFactory.LfsInstallCommand
LfsFactory.LfsInstallCommand. setRepository(Repository repo)
-