1 package org
.spearce
.jgit
.lib
;
3 import java
.io
.IOException
;
5 /** Reads a deltified object which uses an offset to find its base. */
6 class DeltaOfsPackedObjectLoader
extends DeltaPackedObjectLoader
{
7 private final long deltaBase
;
9 DeltaOfsPackedObjectLoader(final WindowCursor curs
,
10 final PackFile pr
, final long offset
,
11 final int deltaSz
, final long base
) {
12 super(curs
, pr
, offset
, deltaSz
);
16 protected PackedObjectLoader
getBaseLoader() throws IOException
{
17 return pack
.resolveBase(curs
, deltaBase
);