tasks/ext/git/GitCloneTask.php
\GitCloneTask
Package: phing\tasks\ext\git
Wrapper around git-clone
- Parent(s)
- \GitBaseTask < \Task < \ProjectComponent
- See
- \VersionControl_Git
- Author
- Victor Farazdagi
- Since
- 2.4.3
- Version
- $Id: GitCloneTask.php 904 2010-10-05 09:15:19Z victor $
Properties

\VersionControl_Git
$gitClient= 'null'
inheritedInherited from:
\GitBaseTask::$$gitClient
Default value
nullDetails- Type
- \VersionControl_Git
- Inherited_from
- \GitBaseTask::$$gitClient

string
$gitPath= ''/usr/bin/git''
Default value
'/usr/bin/git'Details- Type
- string
- Inherited_from
- \GitBaseTask::$$gitPath

string
$isBare= 'false'
Whether --bare key should be set for git-init
Default value
falseDetails- Type
- string
Methods

getGitClient(
$reset
=
false, $repository
=
null
)
:
void
inherited
Inherited from:
\GitBaseTask::getGitClient()
Parameters
| Name | Type | Description |
|---|---|---|
| $reset | ||
| $repository |

getRuntimeConfigurableWrapper(
)
:
void
inherited
Inherited from:
Task::getRuntimeConfigurableWrapper()\GitBaseTask::getRuntimeConfigurableWrapper()

setGitPath(
string $gitPath
)
:
\GitBaseTask
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $gitPath | string | New path to git repository |
| Type | Description |
|---|---|
| \GitBaseTask |

setRepository(
string $repository
)
:
\GitBaseTask
Parameters
Returns
| Name | Type | Description |
|---|---|---|
| $repository | string | Repo directory |
| Type | Description |
|---|---|
| \GitBaseTask |

setRuntimeConfigurableWrapper(
)
:
void
inherited
Inherited from:
Task::setRuntimeConfigurableWrapper()\GitBaseTask::setRuntimeConfigurableWrapper()

setTargetPath(
string $targetPath
)
:
voidSet path to source repo
Parameters
| Name | Type | Description |
|---|---|---|
| $targetPath | string | Path to repository used as source |