Page MenuHomePhorge
Diviner Arcanist Tech Docs ArcanistMercurialLocalState

final class ArcanistMercurialLocalState
Arcanist Technical Documentation ()

This class is not documented.

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.

final public function setWorkflow($workflow)
Inherited

This method is not documented.
Parameters
ArcanistWorkflow$workflow
Return
wild

final public function getWorkflow()
Inherited

This method is not documented.
Return
wild

final public function setRepositoryAPI($api)
Inherited

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

final public function getRepositoryAPI()
Inherited

This method is not documented.
Return
wild

final public function saveLocalState()
Inherited

This method is not documented.
Return
wild

final public function restoreLocalState()
Inherited

This method is not documented.
Return
wild

final public function discardLocalState()
Inherited

This method is not documented.
Return
wild

final public function __destruct()
Inherited

This method is not documented.
Return
wild

final public function getRestoreCommandsForDisplay()
Inherited

This method is not documented.
Return
wild

protected function canStashChanges()

This method is not documented.
Return
wild

protected function saveStash()

ArcanistRepositoryLocalState

Stash uncommitted changes temporarily. Use {@method:restoreStash()} to bring these changes back.

Note that saving and restoring changes may not behave as expected if used in a non-stack manner, i.e. proper use involves only restoring stashes in the reverse order they were saved.

ArcanistMercurialLocalState
This method is not documented.
Return
wildA reference object that refers to the changes which were saved. When restoring changes this should be passed to {@method:restoreStash()}.

protected function restoreStash($stash_ref)

ArcanistRepositoryLocalState

Restores changes that were previously stashed by {@method:saveStash()}.

ArcanistMercurialLocalState
This method is not documented.
Parameters
wild$refA reference object referring to which previously stashed changes to restore, from invoking {@method:saveStash()}.
Return
wild

protected function discardStash($stash_ref)

This method is not documented.
Parameters
$ref
Return
wild

private function applyStash()
Inherited

This method is not documented.
Return
wild

protected function executeSaveLocalState()

This method is not documented.
Return
wild

protected function executeRestoreLocalState()

This method is not documented.
Return
wild

protected function executeDiscardLocalState()

This method is not documented.
Return
wild

protected function newRestoreCommandsForDisplay()

This method is not documented.
Return
wild

protected function getIgnoreHints()

This method is not documented.
Return
wild

final protected function newDisplayFileList($title, $files)
Inherited

This method is not documented.
Parameters
$title
array$files
Return
wild

final protected function printFileLists($lists)
Inherited

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

public function getLocalCommit()

This method is not documented.
Return
wild

public function getLocalBookmark()

This method is not documented.
Return
wild