Configuring the Engine
Configuring the Engine
- public function setOldName($old_name) — Set the name to identify the old file with. Primarily cosmetic.
- public function setNewName($new_name) — Set the name to identify the new file with. Primarily cosmetic.
Generating Diffs
Generating Diffs
- public function generateRawDiffFromFileContent($old, $new) — Generate a raw diff from two raw files. This is a lower-level API than @{method:generateChangesetFromFileContent}, but may be useful if you need to use a custom parser configuration, as with Diffusion.
- public function generateChangesetFromFileContent($old, $new) — Generate an @{class:DifferentialChangeset} from two raw files. This is principally useful because you can feed the output to @{class:DifferentialChangesetParser} in order to render it.
Other Methods
Other Methods
- public function setNormalize($normalize)
- public function getNormalize()
- private function normalizeFile($corpus)
- public static function applyIntralineDiff($str, $intra_stack)