Uses of Class
org.eclipse.jgit.lib.ObjectLoader
Packages that use ObjectLoader
Package
Description
High-level API commands (the porcelain of JGit).
Comparing file contents by computing diffs.
Reading and editing the directory cache (index).
Distributed file system based repository storage.
File based repository storage.
Core API for repository, config, refs, object database.
Walking revision graphs (commit history).
Utility classes.
-
Uses of ObjectLoader in org.eclipse.jgit.api
Subclasses of ObjectLoader in org.eclipse.jgit.apiModifier and TypeClassDescriptionprivate static classWe write the patch result to aTemporaryBufferand then useDirCacheCheckout.getContent() to run the result through the CR-LF and smudge filters.Methods in org.eclipse.jgit.api with parameters of type ObjectLoader -
Uses of ObjectLoader in org.eclipse.jgit.archive
Methods in org.eclipse.jgit.archive with parameters of type ObjectLoaderModifier and TypeMethodDescriptionvoidTarFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidTbz2Format.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidTgzFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidTxzFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive.voidZipFormat.putEntry(org.apache.commons.compress.archivers.ArchiveOutputStream out, ObjectId tree, String path, FileMode mode, ObjectLoader loader) Write an entry to an archive. -
Uses of ObjectLoader in org.eclipse.jgit.diff
Methods in org.eclipse.jgit.diff that return ObjectLoaderModifier and TypeMethodDescriptionabstract ObjectLoaderOpen the object.ContentSource.Pair.open(DiffEntry.Side side, DiffEntry ent) Open the object.Methods in org.eclipse.jgit.diff with parameters of type ObjectLoaderModifier and TypeMethodDescriptionstatic SimilarityIndexSimilarityIndex.create(ObjectLoader obj) Create a new similarity index for the given object(package private) voidSimilarityIndex.hash(ObjectLoader obj) private SimilarityIndexSimilarityRenameDetector.hash(ObjectLoader objectLoader) private voidSimilarityIndex.hashLargeObject(ObjectLoader obj) (package private) static booleanSimilarityIndex.isBinary(ObjectLoader obj) static RawTextRawText.load(ObjectLoader ldr, int threshold) Read a blob object into RawText, or throw BinaryBlobException if the blob is binary. -
Uses of ObjectLoader in org.eclipse.jgit.dircache
Methods in org.eclipse.jgit.dircache with parameters of type ObjectLoaderModifier and TypeMethodDescriptionstatic voidDirCacheCheckout.getContent(Repository repo, String path, DirCacheCheckout.CheckoutMetadata checkoutMetadata, ObjectLoader ol, WorkingTreeOptions opt, OutputStream os) Return filtered content for a specific object (blob).private static voidDirCacheCheckout.runBuiltinFilterCommand(Repository repo, DirCacheCheckout.CheckoutMetadata checkoutMetadata, ObjectLoader ol, OutputStream channel) private static voidDirCacheCheckout.runExternalFilterCommand(Repository repo, String path, DirCacheCheckout.CheckoutMetadata checkoutMetadata, ObjectLoader ol, OutputStream channel) -
Uses of ObjectLoader in org.eclipse.jgit.internal.storage.dfs
Subclasses of ObjectLoader in org.eclipse.jgit.internal.storage.dfsModifier and TypeClassDescriptionprivate class(package private) final classMethods in org.eclipse.jgit.internal.storage.dfs that return ObjectLoaderModifier and TypeMethodDescriptionprivate static ObjectLoaderDfsReader.checkType(ObjectLoader ldr, AnyObjectId id, int typeHint) (package private) ObjectLoaderDfsPackFile.get(DfsReader ctx, AnyObjectId id) Get an object from this pack.(package private) ObjectLoaderDfsInserter.Reader.open(AnyObjectId objectId, int typeHint) DfsReader.open(AnyObjectId objectId, int typeHint) Open an object from this database.private ObjectLoaderDfsReader.openImpl(DfsObjDatabase.PackList packList, AnyObjectId objectId) Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectLoaderModifier and TypeMethodDescriptionprivate static ObjectLoaderDfsReader.checkType(ObjectLoader ldr, AnyObjectId id, int typeHint) -
Uses of ObjectLoader in org.eclipse.jgit.internal.storage.file
Subclasses of ObjectLoader in org.eclipse.jgit.internal.storage.fileModifier and TypeClassDescription(package private) classprivate classprivate static final classMethods in org.eclipse.jgit.internal.storage.file that return ObjectLoaderModifier and TypeMethodDescription(package private) ObjectLoaderPack.get(WindowCursor curs, AnyObjectId id) Get an object from this pack.(package private) ObjectLoaderLooseObjects.getObjectLoader(WindowCursor curs, File path, AnyObjectId id) Provides a loader for an objectId(package private) ObjectLoaderPack.load(WindowCursor curs, long pos) (package private) ObjectLoaderLooseObjects.open(WindowCursor curs, AnyObjectId id) (package private) ObjectLoaderPackDirectory.open(WindowCursor curs, AnyObjectId objectId) PackInserter.Reader.open(AnyObjectId objectId, int typeHint) (package private) static ObjectLoaderUnpackedObject.open(InputStream in, File path, AnyObjectId id, WindowCursor wc) WindowCursor.open(AnyObjectId objectId, int typeHint) Open an object from this database.private ObjectLoaderObjectDirectory.openLooseFromSelfOrAlternate(WindowCursor curs, AnyObjectId objectId, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) ObjectLoaderCachedObjectDirectory.openLooseObject(WindowCursor curs, AnyObjectId id) (package private) abstract ObjectLoaderFileObjectDatabase.openLooseObject(WindowCursor curs, AnyObjectId id) (package private) ObjectLoaderObjectDirectory.openLooseObject(WindowCursor curs, AnyObjectId id) (package private) ObjectLoaderCachedObjectDirectory.openObject(WindowCursor curs, AnyObjectId objectId) private ObjectLoaderCachedObjectDirectory.openObject(WindowCursor curs, AnyObjectId objectId, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) abstract ObjectLoaderFileObjectDatabase.openObject(WindowCursor curs, AnyObjectId objectId) (package private) ObjectLoaderObjectDirectory.openObject(WindowCursor curs, AnyObjectId objectId) private ObjectLoaderObjectDirectory.openObjectWithoutRestoring(WindowCursor curs, AnyObjectId objectId) private ObjectLoaderObjectDirectory.openPackedFromSelfOrAlternate(WindowCursor curs, AnyObjectId objectId, Set<ObjectDirectory.AlternateHandle.Id> skips) (package private) ObjectLoaderObjectDirectory.openPackedObject(WindowCursor curs, AnyObjectId objectId) static ObjectLoaderUnpackedObject.parse(byte[] raw, AnyObjectId id) Parse an object from the unpacked object format. -
Uses of ObjectLoader in org.eclipse.jgit.lfs
Subclasses of ObjectLoader in org.eclipse.jgit.lfsModifier and TypeClassDescriptionclassAnObjectLoaderimplementation that reads a media file from the LFS storage.Methods in org.eclipse.jgit.lfs that return ObjectLoaderModifier and TypeMethodDescriptionBuiltinLFS.applySmudgeFilter(Repository db, ObjectLoader loader, Attribute attribute) static ObjectLoaderLfsBlobFilter.smudgeLfsBlob(Repository db, ObjectLoader loader) In case the givenObjectLoaderpoints to a LFS pointer file replace the loader with one pointing to the LFS media file contents.Methods in org.eclipse.jgit.lfs with parameters of type ObjectLoaderModifier and TypeMethodDescriptionBuiltinLFS.applySmudgeFilter(Repository db, ObjectLoader loader, Attribute attribute) static ObjectLoaderLfsBlobFilter.smudgeLfsBlob(Repository db, ObjectLoader loader) In case the givenObjectLoaderpoints to a LFS pointer file replace the loader with one pointing to the LFS media file contents. -
Uses of ObjectLoader in org.eclipse.jgit.lib
Subclasses of ObjectLoader in org.eclipse.jgit.libModifier and TypeClassDescriptionstatic classWraps a delegate ObjectLoader.static classSimple loader around the cached byte array.Methods in org.eclipse.jgit.lib that return ObjectLoaderModifier and TypeMethodDescriptionprotected abstract ObjectLoaderObjectLoader.Filter.delegate()AsyncObjectLoaderQueue.open()Obtain a loader to read the object.ObjectDatabase.open(AnyObjectId objectId) Open an object from this database.ObjectDatabase.open(AnyObjectId objectId, int typeHint) Open an object from this database.ObjectReader.Filter.open(AnyObjectId objectId) ObjectReader.Filter.open(AnyObjectId objectId, int typeHint) ObjectReader.open(AnyObjectId objectId) Open an object from this database.abstract ObjectLoaderObjectReader.open(AnyObjectId objectId, int typeHint) Open an object from this database.Repository.open(AnyObjectId objectId) Open an object from this repository.Repository.open(AnyObjectId objectId, int typeHint) Open an object from this repository.Constructors in org.eclipse.jgit.lib with parameters of type ObjectLoaderModifierConstructorDescriptionSmallStream(ObjectLoader loader) Create the stream from an existing loader's cached bytes. -
Uses of ObjectLoader in org.eclipse.jgit.revwalk
Methods in org.eclipse.jgit.revwalk with parameters of type ObjectLoaderModifier and TypeMethodDescription(package private) byte[]RevWalk.getCachedBytes(RevObject obj, ObjectLoader ldr) private RevObjectRevWalk.parseNew(AnyObjectId id, ObjectLoader ldr) -
Uses of ObjectLoader in org.eclipse.jgit.util
Methods in org.eclipse.jgit.util that return ObjectLoaderModifier and TypeMethodDescriptionLfsFactory.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.Methods in org.eclipse.jgit.util with parameters of type ObjectLoaderModifier and TypeMethodDescriptionLfsFactory.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.