Page MenuHomeIsabelle/Phabricator
Diviner Phabricator Tech Docs DiffusionBrowseResultSet

final class DiffusionBrowseResultSet
Phabricator Technical Documentation (Diffusion)

This class is not documented.

Methods

public function setPaths($paths)

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

public function getPaths()

This method is not documented.
Return
wild

public function setIsValidResults($is_valid)

This method is not documented.
Parameters
$is_valid
Return
wild

public function isValidResults()

This method is not documented.
Return
wild

public function setReasonForEmptyResultSet($reason)

This method is not documented.
Parameters
$reason
Return
wild

public function getReasonForEmptyResultSet()

This method is not documented.
Return
wild

public function setExistedAtCommit($existed_at_commit)

This method is not documented.
Parameters
$existed_at_commit
Return
wild

public function getExistedAtCommit()

This method is not documented.
Return
wild

public function setDeletedAtCommit($deleted_at_commit)

This method is not documented.
Parameters
$deleted_at_commit
Return
wild

public function getDeletedAtCommit()

This method is not documented.
Return
wild

public function toDictionary()

This method is not documented.
Return
wild

public function getPathDicts()

This method is not documented.
Return
wild

public function getReadmePath()

Get the best README file in this result set, if one exists.

Callers should normally use diffusion.filecontentquery to pull README content.

Return
string|nullFull path to best README, or null if one does not exist.

public static function getReadmePriority($path)

Get the priority of a README file.

When a directory contains several README files, this function scores them so the caller can select a preferred file. See getReadmePath().

Parameters
string$pathLocal README path, like "README.txt".
Return
intPriority score, with higher being more preferred.

public static function newFromConduit($data)

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