Uses of Class
org.variantsync.diffdetective.diff.git.PatchDiff
Package
Description
-
Uses of PatchDiff in org.variantsync.diffdetective.analysis
-
Uses of PatchDiff in org.variantsync.diffdetective.diff.git
Modifier and TypeMethodDescriptionCommitDiff.getPatchDiffs()
Returns the list of allPatchDiffs
that belong to thisCommitDiff
.Modifier and TypeMethodDescriptionvoid
CommitDiff.addPatchDiff
(PatchDiff patchDiff) Add aPatchDiff
.boolean
Applies this filter to the given PatchDiff. -
Uses of PatchDiff in org.variantsync.diffdetective.variation.diff.parse
Modifier and TypeMethodDescriptionstatic PatchDiff
VariationDiffParser.parsePatch
(Repository repo, String file, String commitHash) Parses the given patch of the given repository. -
Uses of PatchDiff in org.variantsync.diffdetective.variation.diff.render
Modifier and TypeMethodDescriptionvoid
Renders the given patch to the given output directory.boolean
boolean
VariationDiffRenderer.render
(PatchDiff patchDiff, Path directory, RenderOptions<? super DiffLinesLabel> options) InvokesVariationDiffRenderer.render(VariationDiff, GitPatch, Path, RenderOptions)
by extracting the given patchDiff's VariationDiff.boolean
VariationDiffRenderer.render
(PatchDiff patchDiff, Path directory, RenderOptions<? super DiffLinesLabel> options, LineGraphExportOptions<? super DiffLinesLabel> exportOptions) InvokesVariationDiffRenderer.render(VariationDiff, GitPatch, Path, RenderOptions, LineGraphExportOptions)
by extracting the given patchDiff's VariationDiff. -
Uses of PatchDiff in org.variantsync.diffdetective.variation.diff.serialize
Modifier and TypeFieldDescriptionprivate final BiConsumer<PatchDiff,
Exception> LineGraphExportOptions.onError
The field for theonError
record component.Modifier and TypeMethodDescriptionstatic BiConsumer<PatchDiff,
Exception> LineGraphExportOptions.LogError()
Default value forLineGraphExportOptions.onError
that logs errors.LineGraphExportOptions.onError()
Returns the value of theonError
record component.static BiConsumer<PatchDiff,
Exception> LineGraphExportOptions.RenderError()
Default value forLineGraphExportOptions.onError
that renders errors withPatchDiffRenderer.ErrorRendering(org.variantsync.diffdetective.variation.diff.render.VariationDiffRenderer)
(withVariationDiffRenderer.WithinDiffDetective()
.static BiConsumer<PatchDiff,
Exception> LineGraphExportOptions.SysExitOnError()
Default value forLineGraphExportOptions.onError
that exits the program immediately upon an error withSystem.exit(int)
.Modifier and TypeMethodDescriptionstatic LineGraphExport.Statistic
LineGraphExport.toLineGraphFormat
(PatchDiff patch, LineGraphExportOptions<? super DiffLinesLabel> options, OutputStream destination) Writes the given patch in linegraph format to the given StringBuilder.ModifierConstructorDescriptionLineGraphExportOptions
(GraphFormat graphFormat, VariationDiffLabelFormat treeFormat, DiffNodeLabelFormat<? super L> nodeFormat, EdgeLabelFormat<? super L> edgeFormat, BiConsumer<PatchDiff, Exception> onError) Creates an instance of aLineGraphExportOptions
record class.