Class GitDiffConsumer
java.lang.Object
org.apache.maven.scm.provider.git.command.diff.GitDiffConsumer
- All Implemented Interfaces:
org.codehaus.plexus.util.cli.StreamConsumer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final String
private StringBuilder
private String
private static final String
private static final Pattern
patern matches the index line of the diff comparison paren.1 matches the first file paren.2 matches the 2nd fileprivate Map<String,
CharSequence> private static final String
private static final String
private ScmLogger
private static final String
private static final String
private StringBuilder
private static final String
private static final String
private static final String
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DIFF_FILES_PATTERN
patern matches the index line of the diff comparison paren.1 matches the first file paren.2 matches the 2nd file -
START_REVISION_TOKEN
- See Also:
-
END_REVISION_TOKEN
- See Also:
-
ADDED_LINE_TOKEN
- See Also:
-
REMOVED_LINE_TOKEN
- See Also:
-
UNCHANGED_LINE_TOKEN
- See Also:
-
CHANGE_SEPARATOR_TOKEN
- See Also:
-
NO_NEWLINE_TOKEN
- See Also:
-
INDEX_LINE_TOKEN
- See Also:
-
NEW_FILE_MODE_TOKEN
- See Also:
-
DELETED_FILE_MODE_TOKEN
- See Also:
-
logger
-
currentFile
-
currentDifference
-
changedFiles
-
differences
-
patch
-
-
Constructor Details
-
GitDiffConsumer
-
-
Method Details
-
consumeLine
- Specified by:
consumeLine
in interfaceorg.codehaus.plexus.util.cli.StreamConsumer
-
getChangedFiles
-
getDifferences
-
getPatch
-