Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
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.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
void |
ArchiveCommand.Format.putEntry(T out,
ObjectId tree,
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(String path,
ObjectId id)
Open the object.
|
Modifier and Type | Method and Description |
---|---|
static SimilarityIndex |
SimilarityIndex.create(ObjectLoader obj)
Create a new similarity index for the given object
|
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,
String path,
DirCacheCheckout.CheckoutMetadata checkoutMetadata,
ObjectLoader ol,
WorkingTreeOptions opt,
OutputStream os)
Return filtered content for a specific object (blob).
|
Modifier and Type | Method and Description |
---|---|
ObjectLoader |
DfsReader.open(AnyObjectId objectId,
int typeHint)
Open an object from this database.
|
Modifier and Type | Method and Description |
---|---|
static ObjectLoader |
UnpackedObject.parse(byte[] raw,
AnyObjectId id)
Parse an object from the unpacked object format.
|
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 |
Repository.open(AnyObjectId objectId)
Open an object from this repository.
|
ObjectLoader |
ObjectReader.open(AnyObjectId objectId)
Open an object from this database.
|
ObjectLoader |
ObjectReader.Filter.open(AnyObjectId objectId) |
ObjectLoader |
ObjectDatabase.open(AnyObjectId objectId)
Open an object from this database.
|
ObjectLoader |
Repository.open(AnyObjectId objectId,
int typeHint)
Open an object from this repository.
|
abstract ObjectLoader |
ObjectReader.open(AnyObjectId objectId,
int typeHint)
Open an object from this database.
|
ObjectLoader |
ObjectReader.Filter.open(AnyObjectId objectId,
int typeHint) |
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 |
---|---|
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.
|
Copyright © 2020 Eclipse JGit Project. All rights reserved.