[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/diffusion/query/lowlevel/ -> DiffusionLowLevelGitRefQuery.php (summary)

Execute and parse a low-level Git ref query using `git for-each-ref`. This is useful for returning a list of tags or branches.

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

Defines 6 functions

  withIsTag()
  withIsOriginBranch()
  executeQuery()
  getFields()
  getFormatString()
  extractFields()

Functions
Functions that are not part of a class:

withIsTag($is_tag)   X-Ref
No description

withIsOriginBranch($is_origin_branch)   X-Ref
No description

executeQuery()   X-Ref
No description

getFields()   X-Ref
List of git `--format` fields we want to grab.


getFormatString()   X-Ref
Get a string for `--format` which enumerates all the fields we want.


extractFields($line)   X-Ref
Parse a line back into fields.




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