Package | Description |
---|---|
org.tmatesoft.svn.core.internal.wc.patch |
Modifier and Type | Field and Description |
---|---|
private SVNPatchHunk |
SVNPatchHunkInfo.hunk |
Modifier and Type | Method and Description |
---|---|
SVNPatchHunk |
SVNPatchHunkInfo.getHunk() |
static SVNPatchHunk |
SVNPatchHunk.parseNextHunk(SVNPatch patch)
Return the next HUNK from a PATCH, using STREAM to read data from the
patch file.
|
Modifier and Type | Method and Description |
---|---|
SVNPatchHunkInfo |
SVNPatchTarget.getHunkInfo(SVNPatchHunk hunk,
int fuzz)
Determine the line at which a HUNK applies to the TARGET file, and return
an appropriate hunk_info object in *HI, allocated from RESULT_POOL.
|
private boolean |
SVNPatchTarget.matchHunk(SVNPatchHunk hunk,
int fuzz)
Indicate in *MATCHED whether the original text of HUNK matches the patch
TARGET at its current line.
|
private static boolean |
SVNPatchHunk.parseHunkHeader(java.lang.String header,
SVNPatchHunk hunk)
Try to parse a hunk header in string HEADER, putting parsed information
into HUNK.
|
int |
SVNPatchTarget.scanForMatch(SVNPatchHunk hunk,
boolean matchFirst,
int upperLine,
int fuzz)
Scan lines of TARGET for a match of the original text of HUNK, up to but
not including the specified UPPER_LINE.
|
Constructor and Description |
---|
SVNPatchHunkInfo(SVNPatchHunk hunk,
int matchedLine,
boolean rejected,
int fuzz) |