| Modifier and Type | Field and Description |
|---|---|
| private final ObjectDirectory | |
| private final String[] | |
| private Pack[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| public long | getObjectCount()
Implements abstract org. Get the number of objects in this pack. |
| private Pack | |
| private String | |
| private Pack[] | |
| public boolean | hasObject(ObjectToPack
the object being packed. Can be used as an ObjectId. obj, StoredObjectRepresentation representation from the
rep)org.
instance that originally supplied this CachedPack.Implements abstract org. Determine if this pack contains the object representation given. |
| odb | back to summary |
|---|---|
| private final ObjectDirectory odb | |
| packNames | back to summary |
|---|---|
| private final String[] packNames | |
| packs | back to summary |
|---|---|
| private Pack[] packs | |
| LocalCachedPack | back to summary |
|---|---|
| pack-priv LocalCachedPack(ObjectDirectory odb, List<String> packNames) | |
| LocalCachedPack | back to summary |
|---|---|
| pack-priv LocalCachedPack(List<Pack> packs) | |
| copyAsIs | back to summary |
|---|---|
| pack-priv void copyAsIs(PackOutputStream out, WindowCursor wc) throws IOException | |
| getObjectCount | back to summary |
|---|---|
| public long getObjectCount() throws IOException Implements abstract org. Doc from org. Get the number of objects in this pack.
| |
| getPackFile | back to summary |
|---|---|
| private Pack getPackFile(String packName) throws FileNotFoundException | |
| getPackFilePath | back to summary |
|---|---|
| private String getPackFilePath(String packName) | |
| getPacks | back to summary |
|---|---|
| private Pack[] getPacks() throws FileNotFoundException | |
| hasObject | back to summary |
|---|---|
| public boolean hasObject(ObjectToPack obj, StoredObjectRepresentation rep) Implements abstract org. Doc from org. Determine if this pack contains the object representation given. PackWriter uses this method during the finding sources phase to prune away any objects from the leading thin-pack that already appear within this pack and should not be sent twice.
Implementors are strongly encouraged to rely on looking at
| |