# tasks/ext/git/GitGcTask.php

## \GitGcTask
jump to top

Package: phing\tasks\ext\git

Wrapper around git-gc

Parent(s)
  \GitBaseTask < \Task < \ProjectComponent
See
  \VersionControl_Git
Author
  Victor Farazdagi
Since
  2.4.3
Version
  $Id: GitGcTask.php 1051 2011-03-02 19:40:51Z victor $

### Properties

`boolean $isAggressive= 'false'`

--aggressive key to git-gc

Default value `false` Details

Type
  boolean

`boolean $isAuto= 'false'`

--auto key to git-gc

Default value `false` Details

Type
  boolean

`boolean $noPrune= 'false'`

--no-prune key to git-gc

Default value `false` Details

Type
  boolean

`string $prune= ''2.weeks.ago''`

--prune=<date>option of git-gc

Default value`'2.weeks.ago'`Details

Type
  string

### Methods

`getAggressive( ) : void`

`getAuto( ) : void`

`getDescription( ) : void`

`getGitClient( ) : void`

`getGitPath( ) : void`

`getLocation( ) : void`

`getNoPrune( ) : void`

`getOwningTarget( ) : void`

`getProject( ) : void`

`getPrune( ) : void`

`getRegisterSlot( ) : void`

`getRepository( ) : void`

`getRuntimeConfigurableWrapper( ) : void`

`getTaskName( ) : void`

`getTaskType( ) : void`

`init( ) : void`

`isAggressive( ) : void`

Details

See
  \getAggressive()

`isAuto( ) : void`

Details

See
  \getAuto()

`isNoPrune( ) : void`

Details

See
  \NoPrune()

`log( ) : void`

`main( ) : void`

The main entry point for the task

`maybeConfigure( ) : void`

`perform( ) : void`

`setAggressive( $flag ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$flag |  |

`setAuto( $flag ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$flag |  |

`setDescription( ) : void`

`setGitPath( ) : void`

`setLocation( ) : void`

`setNoPrune( $flag ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$flag |  |

`setOwningTarget( ) : void`

`setProject( ) : void`

`setPrune( $date ) : void`

Parameters

Name | Type | Description
--- | --- | ---
$date |  |

`setRepository( ) : void`

`setRuntimeConfigurableWrapper( ) : void`

`setTaskName( ) : void`

`setTaskType( ) : void`

Documentation was generated by DocBlox 0.17.1.