return idx(ctx);
}
- @SuppressWarnings("boxing")
private PackIndex idx(DfsReader ctx) throws IOException {
if (index != null) {
return index;
* @throws java.io.IOException
* the bitmap index is not available, or is corrupt.
*/
- @SuppressWarnings("boxing")
public PackBitmapIndex getBitmapIndex(DfsReader ctx) throws IOException {
if (invalid || isGarbage() || !desc.hasFileExt(BITMAP_INDEX)) {
return null;
* @throws java.io.IOException
* the Commit Graph is not available, or is corrupt.
*/
- @SuppressWarnings("boxing")
public CommitGraph getCommitGraph(DfsReader ctx) throws IOException {
if (invalid || isGarbage() || !desc.hasFileExt(COMMIT_GRAPH)) {
return null;
* @throws java.io.IOException
* the pack index is not available, or is corrupt
*/
- @SuppressWarnings("boxing")
public PackReverseIndex getReverseIdx(DfsReader ctx) throws IOException {
if (reverseIndex != null) {
return reverseIndex;
return reverseIndex;
}
- @SuppressWarnings("boxing")
private PackObjectSizeIndex getObjectSizeIndex(DfsReader ctx)
throws IOException {
if (objectSizeIndex != null) {
}
}
- @SuppressWarnings("boxing")
private DfsBlockCache.Ref<PackIndex> loadPackIndex(
DfsReader ctx, DfsStreamKey idxKey) throws IOException {
try {
}
}
- @SuppressWarnings("boxing")
private DfsBlockCache.Ref<PackReverseIndex> loadReverseIdx(
DfsReader ctx, DfsStreamKey revKey, PackIndex idx) {
ctx.stats.readReverseIdx++;
revidx);
}
- @SuppressWarnings("boxing")
private DfsBlockCache.Ref<PackObjectSizeIndex> loadObjectSizeIndex(
DfsReader ctx, DfsStreamKey objectSizeIndexKey) throws IOException {
ctx.stats.readObjectSizeIndex++;