Page MenuHomePhorge

final class ArcanistDiffChange
Arcanist Technical Documentation ()

Represents a change to an individual path.

Methods

public function __get($name)
Inherited

This method is not documented.
Parameters
$name
Return
wild

public function __set($name, $value)
Inherited

This method is not documented.
Parameters
$name
$value
Return
wild

public function current()
Inherited

This method is not documented.
Return
wild

public function key()
Inherited

This method is not documented.
Return
wild

public function next()
Inherited

This method is not documented.
Return
wild

public function rewind()
Inherited

This method is not documented.
Return
wild

public function valid()
Inherited

This method is not documented.
Return
wild

private function throwOnAttemptedIteration()
Inherited

This method is not documented.
Return
wild

public function getPhobjectClassConstant($key, $byte_limit)
Inherited

Phobject

Read the value of a class constant.

This is the same as just typing self::CONSTANTNAME, but throws a more useful message if the constant is not defined and allows the constant to be limited to a maximum length.

Parameters
string$keyName of the constant.
int|null$byte_limitMaximum number of bytes permitted in the value.
Return
stringValue of the constant.

public function setOriginalFileData($original_file_data)

This method is not documented.
Parameters
$original_file_data
Return
wild

public function getOriginalFileData()

This method is not documented.
Return
wild

public function setCurrentFileData($current_file_data)

This method is not documented.
Parameters
$current_file_data
Return
wild

public function getCurrentFileData()

This method is not documented.
Return
wild

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 static function newFromConduit($dicts)

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

public function getChangedLines($type)

This method is not documented.
Parameters
$type
Return
wild

public function getAllMetadata()

This method is not documented.
Return
wild

public function setMetadata($key, $value)

This method is not documented.
Parameters
$key
$value
Return
wild

public function getMetadata($key)

This method is not documented.
Parameters
$key
Return
wild

public function setCommitHash($hash)

This method is not documented.
Parameters
$hash
Return
wild

public function getCommitHash()

This method is not documented.
Return
wild

public function addAwayPath($path)

This method is not documented.
Parameters
$path
Return
wild

public function getAwayPaths()

This method is not documented.
Return
wild

public function setFileType($type)

This method is not documented.
Parameters
$type
Return
wild

public function getFileType()

This method is not documented.
Return
wild

public function setType($type)

This method is not documented.
Parameters
$type
Return
wild

public function getType()

This method is not documented.
Return
wild

public function setOldProperty($key, $value)

This method is not documented.
Parameters
$key
$value
Return
wild

public function setNewProperty($key, $value)

This method is not documented.
Parameters
$key
$value
Return
wild

public function getOldProperties()

This method is not documented.
Return
wild

public function getNewProperties()

This method is not documented.
Return
wild

public function setCurrentPath($path)

This method is not documented.
Parameters
$path
Return
wild

public function getCurrentPath()

This method is not documented.
Return
wild

public function setOldPath($path)

This method is not documented.
Parameters
$path
Return
wild

public function getOldPath()

This method is not documented.
Return
wild

public function addHunk($hunk)

This method is not documented.
Parameters
ArcanistDiffHunk$hunk
Return
wild

public function dropHunks()

This method is not documented.
Return
wild

public function getHunks()

This method is not documented.
Return
wild

public function buildLineMap()

This method is not documented.
Return
array$old => array($new, )

public function convertToBinaryChange($api)

This method is not documented.
Parameters
ArcanistRepositoryAPI$api
Return
wild

protected function filterPath($path)

This method is not documented.
Parameters
$path
Return
wild

public function renderTextSummary()

This method is not documented.
Return
wild

public function getSymlinkTarget()

This method is not documented.
Return
wild

public function setNeedsSyntheticGitHunks($needs_synthetic_git_hunks)

This method is not documented.
Parameters
$needs_synthetic_git_hunks
Return
wild

public function getNeedsSyntheticGitHunks()

This method is not documented.
Return
wild