java.lang.Object
org.eclipse.jgit.internal.storage.file.PackIndex.MutableEntry
- Enclosing class:
- PackIndex
Represent mutable entry of pack index consisting of object id and offset
in pack (both mutable).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionClone the entrylong
Returns offset for this index object entryname()
Get hex string representation of the entry's object idCreate a copy of the object id
-
Constructor Details
-
MutableEntry
public MutableEntry()
-
-
Method Details
-
getOffset
public long getOffset()Returns offset for this index object entry- Returns:
- offset of this object in a pack file
-
name
Get hex string representation of the entry's object id- Returns:
- hex string describing the object id of this entry.
-
toObjectId
Create a copy of the object id- Returns:
- a copy of the object id.
-
cloneEntry
Clone the entry- Returns:
- a complete copy of this entry, that won't modify
-