Package org.eclipse.jgit.notes
Class NonNoteEntry
- java.lang.Object
-
- org.eclipse.jgit.lib.AnyObjectId
-
- org.eclipse.jgit.lib.ObjectId
-
- org.eclipse.jgit.notes.NonNoteEntry
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AnyObjectId>
class NonNoteEntry extends ObjectId
A tree entry found in a note branch that isn't a valid note.
-
-
Field Summary
Fields Modifier and Type Field Description private FileMode
mode
Mode of the entry as parsed from the tree.private byte[]
name
Name of the entry in the tree, in raw format.(package private) NonNoteEntry
next
The next non-note entry in the same tree, as defined by tree order.
-
Constructor Summary
Constructors Constructor Description NonNoteEntry(byte[] name, FileMode mode, AnyObjectId id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
format(TreeFormatter fmt)
(package private) int
pathCompare(byte[] bBuf, int bPos, int bLen, FileMode bMode)
(package private) int
treeEntrySize()
-
Methods inherited from class org.eclipse.jgit.lib.ObjectId
equals, fromRaw, fromRaw, fromRaw, fromRaw, fromString, fromString, isId, toObjectId, toString, zeroId
-
Methods inherited from class org.eclipse.jgit.lib.AnyObjectId
abbreviate, compareTo, compareTo, compareTo, copy, copyRawTo, copyRawTo, copyRawTo, copyRawTo, copyTo, copyTo, copyTo, copyTo, copyTo, copyTo, equals, equals, equals, getByte, getFirstByte, getName, hashCode, isEqual, name, startsWith, toString
-
-
-
-
Field Detail
-
name
private final byte[] name
Name of the entry in the tree, in raw format.
-
mode
private final FileMode mode
Mode of the entry as parsed from the tree.
-
next
NonNoteEntry next
The next non-note entry in the same tree, as defined by tree order.
-
-
Constructor Detail
-
NonNoteEntry
NonNoteEntry(byte[] name, FileMode mode, AnyObjectId id)
-
-
Method Detail
-
format
void format(TreeFormatter fmt)
-
treeEntrySize
int treeEntrySize()
-
pathCompare
int pathCompare(byte[] bBuf, int bPos, int bLen, FileMode bMode)
-
-