Class CommitDiffVariationDiffSource
java.lang.Object
org.variantsync.diffdetective.variation.diff.source.CommitDiffVariationDiffSource
- All Implemented Interfaces:
VariationDiffSource
Describes that a VariationDiff was created from a patch in a
CommitDiff
.-
Field Summary
Fields inherited from interface org.variantsync.diffdetective.variation.diff.source.VariationDiffSource
Unknown
-
Constructor Summary
ConstructorDescriptionCommitDiffVariationDiffSource
(Path fileName, String commitHash) Create a source that refers to changes to the given file in the given commit. -
Method Summary
Modifier and TypeMethodDescriptionReturns the hash of the commit in which the edit occurred.Returns the name of the modified file from whose changes the VariationDiff was parsed.toString()
-
Field Details
-
fileName
-
commitHash
-
-
Constructor Details
-
CommitDiffVariationDiffSource
Create a source that refers to changes to the given file in the given commit.- Parameters:
fileName
- Name of the modified file from whose changes the VariationDiff was parsed.commitHash
- Hash of the commit in which the edit occurred.
-
-
Method Details