Package | Description |
---|---|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.errors |
Exceptions thrown by lower-level JGit APIs.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
Modifier and Type | Field and Description |
---|---|
protected DirCacheEntry |
DirCacheIterator.currentEntry
The current file entry from
DirCacheIterator.cache . |
Modifier and Type | Method and Description |
---|---|
DirCacheEntry |
DirCacheIterator.getDirCacheEntry()
Get the DirCacheEntry for the current file.
|
DirCacheEntry[] |
DirCache.getEntriesWithin(String path)
Recursively get all entries within a subtree.
|
DirCacheEntry |
DirCache.getEntry(int i)
Get a specific entry.
|
DirCacheEntry |
DirCache.getEntry(String path)
Get a specific entry.
|
Modifier and Type | Method and Description |
---|---|
void |
DirCacheBuilder.add(DirCacheEntry newEntry)
Append one entry into the resulting entry list.
|
abstract void |
DirCacheEditor.PathEdit.apply(DirCacheEntry ent)
Apply the update to a single cache entry matching the path.
|
void |
DirCacheEditor.DeletePath.apply(DirCacheEntry ent) |
void |
DirCacheEditor.DeleteTree.apply(DirCacheEntry ent) |
static void |
DirCacheCheckout.checkoutEntry(Repository repo,
DirCacheEntry entry,
ObjectReader or)
Updates the file in the working tree with content and mode from an entry
in the index.
|
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.
|
void |
DirCacheEntry.copyMetaData(DirCacheEntry src)
Copy the ObjectId and other meta fields from an existing entry.
|
Constructor and Description |
---|
DirCacheEditor.DeletePath(DirCacheEntry ent)
Create a new deletion command for an existing entry instance.
|
DirCacheEditor.PathEdit(DirCacheEntry ent)
Create a new update command for an existing entry instance.
|
DirCacheEntry(DirCacheEntry src)
Duplicate DirCacheEntry with same path and copied info.
|
Modifier and Type | Method and Description |
---|---|
DirCacheEntry |
UnmergedPathException.getDirCacheEntry() |
Constructor and Description |
---|
UnmergedPathException(DirCacheEntry dce)
Create a new unmerged path exception.
|
Modifier and Type | Field and Description |
---|---|
protected Map<String,DirCacheEntry> |
ResolveMerger.toBeCheckedOut
If the merger has nothing to do for a file but check it out at the end of
the operation, it can be added here.
|
Modifier and Type | Method and Description |
---|---|
Map<String,DirCacheEntry> |
ResolveMerger.getToBeCheckedOut() |
Modifier and Type | Method and Description |
---|---|
WorkingTreeIterator.MetadataDiff |
WorkingTreeIterator.compareMetadata(DirCacheEntry entry)
Compare the metadata (mode, length, modification-timestamp) of the
current entry and a
DirCacheEntry |
boolean |
WorkingTreeIterator.isModified(DirCacheEntry entry,
boolean forceContentCheck,
ObjectReader reader)
Checks whether this entry differs from a given entry from the
DirCache . |
Copyright © 2016 Eclipse JGit Project. All rights reserved.