Page MenuHomeIsabelle/Phabricator

final class DiffusionPathIDQuery
Phabricator Technical Documentation (Diffusion)

This class is not documented.

Tasks

Path Utilities

  • public static function normalizePath($path) — Convert a path to the canonical, absolute representation used by Diffusion.
  • public static function getParentPath($path) — Return the canonical parent directory for a path. Note, returns "/" when passed "/".
  • public static function expandPathToRoot($path) — Generate a list of parents for a repository path. The path itself is included.

Other Methods

Methods

public function __construct($paths)

This method is not documented.
Parameters
array$paths
Return
this//Implicit.//

public function loadPathIDs()

This method is not documented.
Return
wild

public static function normalizePath($path)

Convert a path to the canonical, absolute representation used by Diffusion.

Parameters
string$pathSome repository path.
Return
stringCanonicalized Diffusion path.

public static function getParentPath($path)

Return the canonical parent directory for a path. Note, returns "/" when passed "/".

Parameters
string$pathSome repository path.
Return
stringThat path's canonical parent directory.

public static function expandPathToRoot($path)

Generate a list of parents for a repository path. The path itself is included.

Parameters
string$pathSome repository path.
Return
listList of canonical paths between the path and the root.