classes/phing/tasks/ext/git/GitCloneTask.php

\GitCloneTask

Wrapper around git-clone

Use {@link Project#createTask} to register a new Task.

Extends from
\GitBaseTask
see
\VersionControl_Git
author
Victor Farazdagi
copyright
2001,2002 THYRELL. All rights reserved
package
phing.tasks.ext.git
since
2.4.3
version
$Id: GitCloneTask.php 904 2010-10-05 09:15:19Z victor $

Properties

Propertyprivatestring  $isBare= 'false'

Whether --bare key should be set for git-init

Default valuefalseDetails
Type
string
Propertyprivatestring  $targetPath= ''

Path to target directory

Details
Type
string

Methods

methodpublic  getBare( ) :
methodpublic  getTargetPath( ) : string
Get path to target direcotry repo
Returns
Type Description
string
methodpublic  isBare( ) : string
Alias @see getBare()
Returns
Type Description
string
methodpublic  main( ) :
The main entry point for the task
methodpublic  setBare(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setTargetPath( string $targetPath ) : void
Set path to source repo
Parameters
Name Type Description
$targetPath string Path to repository used as source
Documentation was generated by DocBlox 0.13.1.