## Uses of Class
org.eclipse.jgit.internal.storage.pack.ObjectToPack

Packages that use ObjectToPack
org.eclipse.jgit.errors: Exceptions thrown by lower-level JGit APIs.
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.internal.storage.pack: Reading/writing Git pack files.

### Uses of ObjectToPack in org.eclipse.jgit.errors

Constructors in org.eclipse.jgit.errors with parameters of type ObjectToPack
Constructor and Description
`StoredObjectRepresentationNotAvailableException(ObjectToPack otp)` Construct an error for an object.

### Uses of ObjectToPack in org.eclipse.jgit.internal.storage.dfs

Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type ObjectToPack
`void` DfsReader.`copyObjectAsIs(PackOutputStream out, ObjectToPack otp, boolean validate)`
`boolean` DfsCachedPack.`hasObject(ObjectToPack obj, StoredObjectRepresentation rep)`

Method parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type ObjectToPack
`void` DfsReader.`selectObjectRepresentation(PackWriter packer, ProgressMonitor monitor, Iterable<ObjectToPack> objects)`
`void` DfsReader.`writeObjects(PackOutputStream out, List<ObjectToPack> list)`

### Uses of ObjectToPack in org.eclipse.jgit.internal.storage.file

Constructor parameters in org.eclipse.jgit.internal.storage.file with type arguments of type ObjectToPack
Constructor and Description
`PackBitmapIndexBuilder(List<ObjectToPack> byName)` Creates a PackBitmapIndex used for building the contents of an index file.

### Uses of ObjectToPack in org.eclipse.jgit.internal.storage.pack

Methods in org.eclipse.jgit.internal.storage.pack that return ObjectToPack
`ObjectToPack` PackWriter.`get(AnyObjectId id)` Lookup the ObjectToPack object for a given ObjectId.
`ObjectToPack` ObjectToPack.`getDeltaBase()`
`ObjectToPack` ObjectReuseAsIs.`newObjectToPack(AnyObjectId objectId, int type)` Allocate a new `PackWriter` state structure for an object.

Methods in org.eclipse.jgit.internal.storage.pack with parameters of type ObjectToPack
`void` ObjectReuseAsIs.`copyObjectAsIs(PackOutputStream out, ObjectToPack otp, boolean validate)` Output a previously selected representation.
`abstract boolean` CachedPack.`hasObject(ObjectToPack obj, StoredObjectRepresentation rep)` Determine if this pack contains the object representation given.
`void` PackWriter.`select(ObjectToPack otp, StoredObjectRepresentation next)` Select an object representation for this writer.
`void` PackOutputStream.`writeHeader(ObjectToPack otp, long rawLength)` Commits the object header onto the stream.
`void` PackOutputStream.`writeObject(ObjectToPack otp)` Write one object.

Method parameters in org.eclipse.jgit.internal.storage.pack with type arguments of type ObjectToPack
`void` ObjectReuseAsIs.`selectObjectRepresentation(PackWriter packer, ProgressMonitor monitor, Iterable<ObjectToPack> objects)` Select the best object representation for a packer.
`void` ObjectReuseAsIs.`writeObjects(PackOutputStream out, List<ObjectToPack> list)` Write objects to the pack stream in roughly the order given.