FileComparisonRenamed
Represents a file comparison where the file was renamed.
The patch
field will exist if there were also small internal file changes,
and the previous_filename
field is guaranteed to exist, containing the file's previous filename.
Value members
Concrete methods
Gets the contents of the patch
field if it exists, in the case that the file was modified.
To guarantee that the patch
field is available, match this FileComparison
value as a
FileComparison.FileComparisonNotRenamed
type which always has this field.
Gets the contents of the patch
field if it exists, in the case that the file was modified.
To guarantee that the patch
field is available, match this FileComparison
value as a
FileComparison.FileComparisonNotRenamed
type which always has this field.
Gets the contents of the previous_filename
field if it exists.
This field is guaranteed to appear in the event of any rename.
To guarantee that this field is available, match this FileComparison
value as a
FileComparison.FileComparisonRenamde
type which always has this field.
Gets the contents of the previous_filename
field if it exists.
This field is guaranteed to appear in the event of any rename.
To guarantee that this field is available, match this FileComparison
value as a
FileComparison.FileComparisonRenamde
type which always has this field.