Uses of Class
org.variantsync.diffdetective.diff.git.PatchDiff
Packages that use PatchDiff
Package
Description
-
Uses of PatchDiff in org.variantsync.diffdetective.analysis
Fields in org.variantsync.diffdetective.analysis declared as PatchDiffMethods in org.variantsync.diffdetective.analysis that return PatchDiff -
Uses of PatchDiff in org.variantsync.diffdetective.diff.git
Fields in org.variantsync.diffdetective.diff.git with type parameters of type PatchDiffMethods in org.variantsync.diffdetective.diff.git that return types with arguments of type PatchDiffModifier and TypeMethodDescriptionCommitDiff.getPatchDiffs()
Returns the list of allPatchDiffs
that belong to thisCommitDiff
.Methods in org.variantsync.diffdetective.diff.git with parameters of type PatchDiffModifier 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
Methods in org.variantsync.diffdetective.variation.diff.parse that return PatchDiffModifier 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
Methods in org.variantsync.diffdetective.variation.diff.render with parameters of type PatchDiffModifier 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
Fields in org.variantsync.diffdetective.variation.diff.serialize with type parameters of type PatchDiffModifier and TypeFieldDescriptionprivate final BiConsumer<PatchDiff,
Exception> LineGraphExportOptions.onError
The field for theonError
record component.Methods in org.variantsync.diffdetective.variation.diff.serialize that return types with arguments of type PatchDiffModifier 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)
.Methods in org.variantsync.diffdetective.variation.diff.serialize with parameters of type PatchDiffModifier 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.Constructor parameters in org.variantsync.diffdetective.variation.diff.serialize with type arguments of type PatchDiffModifierConstructorDescriptionLineGraphExportOptions
(GraphFormat graphFormat, VariationDiffLabelFormat treeFormat, DiffNodeLabelFormat<? super L> nodeFormat, EdgeLabelFormat<? super L> edgeFormat, BiConsumer<PatchDiff, Exception> onError) Creates an instance of aLineGraphExportOptions
record class.