Class BlockWriter.RefEntry
- java.lang.Object
-
- org.eclipse.jgit.internal.storage.reftable.BlockWriter.Entry
-
- org.eclipse.jgit.internal.storage.reftable.BlockWriter.RefEntry
-
- Enclosing class:
- BlockWriter
static class BlockWriter.RefEntry extends BlockWriter.Entry
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Ref
ref
(package private) long
updateIndexDelta
-
Fields inherited from class org.eclipse.jgit.internal.storage.reftable.BlockWriter.Entry
key, prefixLen, restart
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) byte
blockType()
private static byte[]
nameUtf8(Ref ref)
(package private) int
valueSize()
(package private) int
valueType()
(package private) void
writeValue(ReftableOutputStream os)
-
Methods inherited from class org.eclipse.jgit.internal.storage.reftable.BlockWriter.Entry
compare, sizeBytes, writeKey
-
-
-
-
Field Detail
-
ref
final Ref ref
-
updateIndexDelta
final long updateIndexDelta
-
-
Constructor Detail
-
RefEntry
RefEntry(Ref ref, long updateIndexDelta)
-
-
Method Detail
-
blockType
byte blockType()
- Specified by:
blockType
in classBlockWriter.Entry
-
valueType
int valueType()
- Specified by:
valueType
in classBlockWriter.Entry
-
valueSize
int valueSize()
- Specified by:
valueSize
in classBlockWriter.Entry
-
writeValue
void writeValue(ReftableOutputStream os) throws java.io.IOException
- Specified by:
writeValue
in classBlockWriter.Entry
- Throws:
java.io.IOException
-
nameUtf8
private static byte[] nameUtf8(Ref ref)
-
-