|
|
|
@ -274,6 +274,15 @@ public class DiffFormatter {
|
|
|
|
|
oldPrefix = prefix; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Get the prefix applied in front of old file paths. |
|
|
|
|
* |
|
|
|
|
* @return the prefix |
|
|
|
|
*/ |
|
|
|
|
public String getOldPrefix() { |
|
|
|
|
return this.oldPrefix; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Set the prefix applied in front of new file paths. |
|
|
|
|
* |
|
|
|
@ -287,6 +296,15 @@ public class DiffFormatter {
|
|
|
|
|
newPrefix = prefix; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Get the prefix applied in front of new file paths. |
|
|
|
|
* |
|
|
|
|
* @return the prefix |
|
|
|
|
*/ |
|
|
|
|
public String getNewPrefix() { |
|
|
|
|
return this.newPrefix; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** @return true if rename detection is enabled. */ |
|
|
|
|
public boolean isDetectRenames() { |
|
|
|
|
return renameDetector != null; |
|
|
|
|