Page MenuHomePhorge

final class ArcanistBundle
libphutil Technical Documentation (Parsers)

Converts changesets between different formats.

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 setAuthorEmail($author_email)

This method is not documented.
Parameters
$author_email
Return
wild

public function getAuthorEmail()

This method is not documented.
Return
wild

public function setAuthorName($author_name)

This method is not documented.
Parameters
$author_name
Return
wild

public function getAuthorName()

This method is not documented.
Return
wild

public function getFullAuthor()

This method is not documented.
Return
wild

public function setConduit($conduit)

This method is not documented.
Parameters
ConduitClient$conduit
Return
wild

public function setBaseRevision($base_revision)

This method is not documented.
Parameters
$base_revision
Return
wild

public function setEncoding($encoding)

This method is not documented.
Parameters
$encoding
Return
wild

public function getEncoding()

This method is not documented.
Return
wild

public function setByteLimit($byte_limit)

This method is not documented.
Parameters
$byte_limit
Return
wild

public function getByteLimit()

This method is not documented.
Return
wild

public function getBaseRevision()

This method is not documented.
Return
wild

public function setRevisionID($revision_id)

This method is not documented.
Parameters
$revision_id
Return
wild

public function getRevisionID()

This method is not documented.
Return
wild

public static function newFromChanges($changes)

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

private function getEOL($patch_type)

This method is not documented.
Parameters
$patch_type
Return
wild

public static function newFromArcBundle($path)

This method is not documented.
Parameters
$path
Return
wild

public static function newFromDiff($data)

This method is not documented.
Parameters
$data
Return
wild

private function __construct()

This method is not documented.
Return
this//Implicit.//

public function writeToDisk($path)

This method is not documented.
Parameters
$path
Return
wild

public function toUnifiedDiff()

This method is not documented.
Return
wild

public function toGitPatch()

This method is not documented.
Return
wild

private function isGitBinaryChange($change)

This method is not documented.
Parameters
ArcanistDiffChange$change
Return
wild

private function convertNonUTF8Diff($diff)

This method is not documented.
Parameters
$diff
Return
wild

public function getChanges()

This method is not documented.
Return
wild

private function breakHunkIntoSmallHunks($base_hunk)

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

private function encodeGitTargetPath($path)

This method is not documented.
Parameters
$path
Return
wild

private function getOldPath($change)

This method is not documented.
Parameters
ArcanistDiffChange$change
Return
wild

private function getCurrentPath($change)

This method is not documented.
Parameters
ArcanistDiffChange$change
Return
wild

private function buildHunkChanges($hunks, $eol)

This method is not documented.
Parameters
array$hunks
$eol
Return
wild

public function setLoadFileDataCallback($callback)

This method is not documented.
Parameters
$callback
Return
wild

private function getBlob($phid, $name)

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

private function buildBinaryChange($change, $old_binary)

This method is not documented.
Parameters
ArcanistDiffChange$change
$old_binary
Return
wild

private function emitBinaryDiffBody($data)

This method is not documented.
Parameters
$data
Return
wild

public static function newBase85Data($data, $eol, $mode)

This method is not documented.
Parameters
$data
$eol
$mode
Return
wild

private function reserveBytes($bytes)

This method is not documented.
Parameters
$bytes
Return
wild