Page MenuHomePhabricator

final class ArcanistDiffHunk
libphutil Technical Documentation (Parsers)

Represents a contiguous set of added and removed lines in a diff.

Methods

public function toDictionary()

This method is not documented.
Return
wild

public static function newFromDictionary($dict)

This method is not documented.
Parameters
array$dict
Return
wild

public function getChangedLines($type)

This method is not documented.
Parameters
$type
Return
wild

public function setOldOffset($old_offset)

This method is not documented.
Parameters
$old_offset
Return
wild

public function getOldOffset()

This method is not documented.
Return
wild

public function setNewOffset($new_offset)

This method is not documented.
Parameters
$new_offset
Return
wild

public function getNewOffset()

This method is not documented.
Return
wild

public function setOldLength($old_length)

This method is not documented.
Parameters
$old_length
Return
wild

public function getOldLength()

This method is not documented.
Return
wild

public function setNewLength($new_length)

This method is not documented.
Parameters
$new_length
Return
wild

public function getNewLength()

This method is not documented.
Return
wild

public function setAddLines($add_lines)

This method is not documented.
Parameters
$add_lines
Return
wild

public function getAddLines()

This method is not documented.
Return
wild

public function setDelLines($del_lines)

This method is not documented.
Parameters
$del_lines
Return
wild

public function getDelLines()

This method is not documented.
Return
wild

public function setCorpus($corpus)

This method is not documented.
Parameters
$corpus
Return
wild

public function getCorpus()

This method is not documented.
Return
wild

public function setIsMissingOldNewline($missing)

This method is not documented.
Parameters
$missing
Return
wild

public function getIsMissingOldNewline()

This method is not documented.
Return
wild

public function setIsMissingNewNewline($missing)

This method is not documented.
Parameters
$missing
Return
wild

public function getIsMissingNewNewline()

This method is not documented.
Return
wild