Package | Description |
---|---|
org.eclipse.jgit.diff |
Comparing file contents by computing diffs.
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Field and Description |
---|---|
protected IntList |
RawText.lines
Map of line number to starting position within
RawText.content . |
Constructor and Description |
---|
RawText(byte[] input,
IntList lineMap)
Create a new sequence from the existing content byte array and the line
map indicating line boundaries.
|
Modifier and Type | Method and Description |
---|---|
static IntList |
RawParseUtils.lineMap(byte[] buf,
int ptr,
int end)
Index the region between
[ptr, end) to find line starts. |
static IntList |
RawParseUtils.lineMapOrBinary(byte[] buf,
int ptr,
int end)
Like
RawParseUtils.lineMap(byte[], int, int) but throw
BinaryBlobException if a NUL byte is encountered. |
Copyright © 2019 Eclipse JGit Project. All rights reserved.