PHP Class Horde_Vcs_Directory_Git, horde

Copyright 2008-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Author: Chuck Hagenbuch ([email protected])
Author: Michael Slusarz ([email protected])
Author: Jan Schneider ([email protected])
Inheritance: extends Horde_Vcs_Directory_Base
Mostrar archivo Open project: horde/horde

Protected Properties

Property Type Description
$_branch string The current branch.

Public Methods

Method Description
__construct ( Horde_Vcs_Base $rep, string $dn, array $opts = [] ) Constructor.
getBranches ( ) : array Returns a list of all branches in this directory.

Method Details

__construct() public method

Constructor.
public __construct ( Horde_Vcs_Base $rep, string $dn, array $opts = [] )
$rep Horde_Vcs_Base A repository object.
$dn string Path to the directory.
$opts array Any additional options: - 'rev': (string) Generate directory list for a certain branch or revision.

getBranches() public method

Returns a list of all branches in this directory.
public getBranches ( ) : array
return array A branch list.

Property Details

$_branch protected_oe property

The current branch.
protected string $_branch
return string