Public Member Functions

Revision Class Reference

Revision Control System Generic Model for Git/SVN repositories. More...

List of all members.

Public Member Functions

 getRepository ($path)
 Check if the provided path is under Git or SVN control.
 getData ($repo)
 Extract an array of data of the current repository status.

Detailed Description

Revision Control System Generic Model for Git/SVN repositories.

Definition at line 26 of file revision.php.


Member Function Documentation

Revision::getData ( repo  ) 

Extract an array of data of the current repository status.

Parameters:
stdClass 
repo:
the Git or SVN scr model related to the

path

Returns:
array: a list of repository properties

Definition at line 55 of file revision.php.

Revision::getRepository ( path  ) 

Check if the provided path is under Git or SVN control.

Parameters:
string $path: the path to check
Returns:
stdClass|null: the Git or SVN scr model related to the $path

Definition at line 34 of file revision.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 11 2015 15:29:47 by Doxygen 1.7.1  BEditaBEdita 3.7 Corylus