[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/diffusion/query/pathid/ -> DiffusionPathIDQuery.php (summary)

(no description)

File Size: 94 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 5 functions

  __construct()
  loadPathIDs()
  normalizePath()
  getParentPath()
  expandPathToRoot()

Functions
Functions that are not part of a class:

__construct(array $paths)   X-Ref


loadPathIDs()   X-Ref
No description

normalizePath($path)   X-Ref
Convert a path to the canonical, absolute representation used by Diffusion.

param: string Some repository path.
return: string Canonicalized Diffusion path.

getParentPath($path)   X-Ref
Return the canonical parent directory for a path. Note, returns "/" when
passed "/".

param: string Some repository path.
return: string That path's canonical parent directory.

expandPathToRoot($path)   X-Ref
Generate a list of parents for a repository path. The path itself is
included.

param: string Some repository path.
return: list List of canonical paths between the path and the root.



Generated: Sun Nov 30 09:20:46 2014 Cross-referenced by PHPXref 0.7.1