Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.archive | |
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.lfs | |
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.revwalk |
Walking revision graphs (commit history).
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
void |
ArchiveCommand.Format.putEntry(T out,
ObjectId tree,
java.lang.String path,
FileMode mode,
ObjectLoader loader)
Write an entry to an archive.
|
Modifier and Type | Method and Description |
---|---|
void |
TgzFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out,
ObjectId tree,
java.lang.String path,
FileMode mode,
ObjectLoader loader)
Write an entry to an archive.
|
void |
TxzFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out,
ObjectId tree,
java.lang.String path,
FileMode mode,
ObjectLoader loader)
Write an entry to an archive.
|
void |
Tbz2Format.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out,
ObjectId tree,
java.lang.String path,
FileMode mode,
ObjectLoader loader)
Write an entry to an archive.
|
void |
TarFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out,
ObjectId tree,
java.lang.String path,
FileMode mode,
ObjectLoader loader)
Write an entry to an archive.
|
void |
ZipFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out,
ObjectId tree,
java.lang.String path,
FileMode mode,
ObjectLoader loader)
Write an entry to an archive.
|
Modifier and Type | Method and Description |
---|---|
ObjectLoader |
ContentSource.Pair.open(DiffEntry.Side side,
DiffEntry ent)
Open the object.
|
abstract ObjectLoader |
ContentSource.open(java.lang.String path,
ObjectId id)
Open the object.
|
ObjectLoader |
ContentSource.ObjectReaderSource.open(java.lang.String path,
ObjectId id) |
ObjectLoader |
ContentSource.WorkingTreeSource.open(java.lang.String path,
ObjectId id) |
Modifier and Type | Method and Description |
---|---|
static SimilarityIndex |
SimilarityIndex.create(ObjectLoader obj)
Create a new similarity index for the given object
|
(package private) void |
SimilarityIndex.hash(ObjectLoader obj) |
private void |
SimilarityIndex.hashLargeObject(ObjectLoader obj) |
static RawText |
RawText.load(ObjectLoader ldr,
int threshold)
Read a blob object into RawText, or throw BinaryBlobException if the blob
is binary.
|
Modifier and Type | Method and Description |
---|---|
static void |
DirCacheCheckout.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).
|
private static void |
DirCacheCheckout.runBuiltinFilterCommand(Repository repo,
DirCacheCheckout.CheckoutMetadata checkoutMetadata,
ObjectLoader ol,
java.io.OutputStream channel) |
private static void |
DirCacheCheckout.runExternalFilterCommand(Repository repo,
java.lang.String path,
DirCacheCheckout.CheckoutMetadata checkoutMetadata,
ObjectLoader ol,
java.io.OutputStream channel) |
Modifier and Type | Class and Description |
---|---|
private class |
DfsInserter.StreamLoader |
(package private) class |
LargePackedWholeObject |
Modifier and Type | Method and Description |
---|---|
private static ObjectLoader |
DfsReader.checkType(ObjectLoader ldr,
AnyObjectId id,
int typeHint) |
(package private) ObjectLoader |
DfsPackFile.get(DfsReader ctx,
AnyObjectId id)
Get an object from this pack.
|
(package private) ObjectLoader |
DfsPackFile.load(DfsReader ctx,
long pos) |
ObjectLoader |
DfsReader.open(AnyObjectId objectId,
int typeHint)
Open an object from this database.
|
ObjectLoader |
DfsInserter.Reader.open(AnyObjectId objectId,
int typeHint) |
private ObjectLoader |
DfsReader.openImpl(DfsObjDatabase.PackList packList,
AnyObjectId objectId) |
Modifier and Type | Method and Description |
---|---|
private static ObjectLoader |
DfsReader.checkType(ObjectLoader ldr,
AnyObjectId id,
int typeHint) |
Modifier and Type | Class and Description |
---|---|
private class |
PackInserter.Reader.StreamLoader |
private static class |
UnpackedObject.LargeObject |
Modifier and Type | Method and Description |
---|---|
(package private) ObjectLoader |
PackFile.get(WindowCursor curs,
AnyObjectId id)
Get an object from this pack.
|
(package private) ObjectLoader |
PackFile.load(WindowCursor curs,
long pos) |
ObjectLoader |
PackInserter.Reader.open(AnyObjectId objectId,
int typeHint) |
ObjectLoader |
WindowCursor.open(AnyObjectId objectId,
int typeHint)
Open an object from this database.
|
(package private) static ObjectLoader |
UnpackedObject.open(java.io.InputStream in,
java.io.File path,
AnyObjectId id,
WindowCursor wc) |
private ObjectLoader |
ObjectDirectory.openLooseFromSelfOrAlternate(WindowCursor curs,
AnyObjectId objectId,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
(package private) ObjectLoader |
ObjectDirectory.openLooseObject(WindowCursor curs,
AnyObjectId id) |
(package private) ObjectLoader |
CachedObjectDirectory.openLooseObject(WindowCursor curs,
AnyObjectId id) |
(package private) abstract ObjectLoader |
FileObjectDatabase.openLooseObject(WindowCursor curs,
AnyObjectId id) |
(package private) ObjectLoader |
ObjectDirectory.openObject(WindowCursor curs,
AnyObjectId objectId) |
(package private) ObjectLoader |
CachedObjectDirectory.openObject(WindowCursor curs,
AnyObjectId objectId) |
(package private) abstract ObjectLoader |
FileObjectDatabase.openObject(WindowCursor curs,
AnyObjectId objectId) |
private ObjectLoader |
CachedObjectDirectory.openObject(WindowCursor curs,
AnyObjectId objectId,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
private ObjectLoader |
ObjectDirectory.openPackedFromSelfOrAlternate(WindowCursor curs,
AnyObjectId objectId,
java.util.Set<ObjectDirectory.AlternateHandle.Id> skips) |
(package private) ObjectLoader |
ObjectDirectory.openPackedObject(WindowCursor curs,
AnyObjectId objectId) |
static ObjectLoader |
UnpackedObject.parse(byte[] raw,
AnyObjectId id)
Parse an object from the unpacked object format.
|
Modifier and Type | Class and Description |
---|---|
class |
LfsBlobLoader
An
ObjectLoader implementation that reads a media file from the LFS
storage. |
Modifier and Type | Method and Description |
---|---|
ObjectLoader |
BuiltinLFS.applySmudgeFilter(Repository db,
ObjectLoader loader,
Attribute attribute) |
static ObjectLoader |
LfsBlobFilter.smudgeLfsBlob(Repository db,
ObjectLoader loader)
In case the given
ObjectLoader points to a LFS pointer file
replace the loader with one pointing to the LFS media file contents. |
Modifier and Type | Method and Description |
---|---|
ObjectLoader |
BuiltinLFS.applySmudgeFilter(Repository db,
ObjectLoader loader,
Attribute attribute) |
static ObjectLoader |
LfsBlobFilter.smudgeLfsBlob(Repository db,
ObjectLoader loader)
In case the given
ObjectLoader points to a LFS pointer file
replace the loader with one pointing to the LFS media file contents. |
Modifier and Type | Class and Description |
---|---|
static class |
ObjectLoader.Filter
Wraps a delegate ObjectLoader.
|
static class |
ObjectLoader.SmallObject
Simple loader around the cached byte array.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ObjectLoader |
ObjectLoader.Filter.delegate() |
ObjectLoader |
AsyncObjectLoaderQueue.open()
Obtain a loader to read the object.
|
ObjectLoader |
ObjectReader.open(AnyObjectId objectId)
Open an object from this database.
|
ObjectLoader |
ObjectReader.Filter.open(AnyObjectId objectId) |
ObjectLoader |
Repository.open(AnyObjectId objectId)
Open an object from this repository.
|
ObjectLoader |
ObjectDatabase.open(AnyObjectId objectId)
Open an object from this database.
|
abstract ObjectLoader |
ObjectReader.open(AnyObjectId objectId,
int typeHint)
Open an object from this database.
|
ObjectLoader |
ObjectReader.Filter.open(AnyObjectId objectId,
int typeHint) |
ObjectLoader |
Repository.open(AnyObjectId objectId,
int typeHint)
Open an object from this repository.
|
ObjectLoader |
ObjectDatabase.open(AnyObjectId objectId,
int typeHint)
Open an object from this database.
|
Constructor and Description |
---|
SmallStream(ObjectLoader loader)
Create the stream from an existing loader's cached bytes.
|
Modifier and Type | Method and Description |
---|---|
(package private) byte[] |
RevWalk.getCachedBytes(RevObject obj,
ObjectLoader ldr) |
private RevObject |
RevWalk.parseNew(AnyObjectId id,
ObjectLoader ldr) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|