Package | Description |
---|---|
org.eclipse.jgit.events |
Events and listener interfaces.
|
org.eclipse.jgit.gitrepo | |
org.eclipse.jgit.internal.storage.pack |
Reading/writing Git pack files.
|
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
Modifier and Type | Method and Description |
---|---|
Collection<String> |
WorkingTreeModifiedEvent.getDeleted()
Retrieves the
Collection of repository-relative paths of files
that were deleted. |
Collection<String> |
WorkingTreeModifiedEvent.getModified()
Retrieves the
Collection of repository-relative paths of files
that were modified (added or updated). |
Modifier and Type | Method and Description |
---|---|
List<RepoProject> |
ManifestParser.getFilteredProjects()
Getter for filterdProjects.
|
Modifier and Type | Method and Description |
---|---|
void |
PackWriter.preparePack(Iterator<RevObject> objectsSource)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
ObjectWalk walk,
Set<? extends ObjectId> interestingObjects,
Set<? extends ObjectId> uninterestingObjects,
Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
ObjectWalk walk,
Set<? extends ObjectId> interestingObjects,
Set<? extends ObjectId> uninterestingObjects,
Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
ObjectWalk walk,
Set<? extends ObjectId> interestingObjects,
Set<? extends ObjectId> uninterestingObjects,
Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
ObjectWalk walk,
Set<? extends ObjectId> interestingObjects,
Set<? extends ObjectId> uninterestingObjects,
Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have,
Set<? extends ObjectId> shallow)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have,
Set<? extends ObjectId> shallow)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have,
Set<? extends ObjectId> shallow)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have,
Set<? extends ObjectId> shallow,
Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have,
Set<? extends ObjectId> shallow,
Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have,
Set<? extends ObjectId> shallow,
Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
void |
PackWriter.preparePack(ProgressMonitor countingMonitor,
Set<? extends ObjectId> want,
Set<? extends ObjectId> have,
Set<? extends ObjectId> shallow,
Set<? extends ObjectId> noBitmaps)
Prepare the list of objects to be written to the pack stream.
|
Modifier and Type | Method and Description |
---|---|
abstract AttributesNodeProvider |
Repository.createAttributesNodeProvider() |
Map<String,Ref> |
RefDatabase.exactRef(String... refs)
Read the specified references.
|
Set<ObjectId> |
Repository.getAdditionalHaves()
Objects known to exist but not expressed by
Repository.getAllRefs() . |
abstract List<Ref> |
RefDatabase.getAdditionalRefs()
Get the additional reference-like entities from the repository.
|
Map<String,Ref> |
Repository.getAllRefs() |
Map<AnyObjectId,Set<Ref>> |
Repository.getAllRefsByPeeledObjectId() |
abstract StoredConfig |
Repository.getConfig() |
Collection<String> |
RefDatabase.getConflictingNames(String name)
Determine if a proposed reference cannot coexist with existing ones.
|
File |
Repository.getIndexFile() |
Ref |
SymbolicRef.getLeaf() |
Ref |
ObjectIdRef.getLeaf() |
Ref |
Ref.getLeaf()
Traverse target references until
Ref.isSymbolic() is false. |
ListenerList |
Repository.getListenerList() |
String |
SymbolicRef.getName() |
String |
ObjectIdRef.getName() |
String |
Ref.getName()
What this ref is called within the repository.
|
abstract ObjectDatabase |
Repository.getObjectDatabase() |
ObjectId |
ObjectIdRef.PeeledTag.getPeeledObjectId() |
abstract RefDatabase |
Repository.getRefDatabase() |
abstract Map<String,Ref> |
RefDatabase.getRefs(String prefix)
Get a section of the reference namespace.
|
List<RefSpec> |
DefaultTypedConfigGetter.getRefSpecs(Config config,
String section,
String subsection,
String name) |
List<RefSpec> |
TypedConfigGetter.getRefSpecs(Config config,
String section,
String subsection,
String name)
|
Set<String> |
Repository.getRemoteNames() |
RepositoryState |
Repository.getRepositoryState() |
Ref.Storage |
SymbolicRef.getStorage() |
Ref.Storage |
ObjectIdRef.getStorage() |
Ref.Storage |
Ref.getStorage()
How was this ref obtained?
|
Map<String,Ref> |
Repository.getTags() |
Ref |
SymbolicRef.getTarget() |
Ref |
ObjectIdRef.getTarget() |
Ref |
Ref.getTarget()
Get the reference this reference points to, or
this . |
File |
Repository.getWorkTree() |
DirCache |
Repository.lockDirCache()
Create a new in-core index representation, lock it, and read from disk.
|
BatchRefUpdate |
RefDatabase.newBatchUpdate()
Create a new batch update to attempt on this database.
|
ObjectInserter |
Repository.newObjectInserter() |
ObjectReader |
Repository.newObjectReader() |
abstract RefRename |
RefDatabase.newRename(String fromName,
String toName)
Create a new update command to rename a reference.
|
abstract RefUpdate |
RefDatabase.newUpdate(String name,
boolean detach)
Create a new update command to create, modify or delete a reference.
|
ObjectLoader |
Repository.open(AnyObjectId objectId)
Open an object from this repository.
|
ObjectLoader |
Repository.open(AnyObjectId objectId,
int typeHint)
Open an object from this repository.
|
Ref |
Repository.peel(Ref ref)
Peel a possibly unpeeled reference to an annotated tag.
|
abstract Ref |
RefDatabase.peel(Ref ref)
Peel a possibly unpeeled reference by traversing the annotated tags.
|
DirCache |
Repository.readDirCache()
Create a new in-core index representation and read an index from disk.
|
List<RebaseTodoLine> |
Repository.readRebaseTodo(String path,
boolean includeComments)
Read a file formatted like the git-rebase-todo file.
|
RefRename |
Repository.renameRef(String fromRef,
String toRef)
Create a command to rename a ref in this repository
|
static String |
Repository.shortenRefName(String refName) |
static String |
Repository.stripWorkDir(File workDir,
File file)
Strip work dir and return normalized repository path.
|
String |
ObjectIdRef.toString() |
String |
Repository.toString() |
RefUpdate |
Repository.updateRef(String ref)
Create a command to update, create or delete a ref in this repository.
|
RefUpdate |
Repository.updateRef(String ref,
boolean detach)
Create a command to update, create or delete a ref in this repository.
|
Modifier and Type | Method and Description |
---|---|
static void |
RepositoryCache.close(Repository db)
Close and remove a repository from the cache.
|
Constructor and Description |
---|
ObjectIdRef(Ref.Storage st,
String name,
ObjectId id)
Create a new ref pairing.
|
ObjectIdRef(Ref.Storage st,
String name,
ObjectId id)
Create a new ref pairing.
|
PeeledNonTag(Ref.Storage st,
String name,
ObjectId id)
Create a new ref pairing.
|
PeeledNonTag(Ref.Storage st,
String name,
ObjectId id)
Create a new ref pairing.
|
PeeledTag(Ref.Storage st,
String name,
ObjectId id,
ObjectId p)
Create a new ref pairing.
|
PeeledTag(Ref.Storage st,
String name,
ObjectId id,
ObjectId p)
Create a new ref pairing.
|
PeeledTag(Ref.Storage st,
String name,
ObjectId id,
ObjectId p)
Create a new ref pairing.
|
SymbolicRef(String refName,
Ref target)
Create a new ref pairing.
|
SymbolicRef(String refName,
Ref target)
Create a new ref pairing.
|
Unpeeled(Ref.Storage st,
String name,
ObjectId id)
Create a new ref pairing.
|
Unpeeled(Ref.Storage st,
String name,
ObjectId id)
Create a new ref pairing.
|
Copyright © 2018 Eclipse JGit Project. All rights reserved.