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

\GitGcTask

Wrapper around git-gc

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: GitGcTask.php 1051 2011-03-02 19:40:51Z victor $

Properties

Propertyprivateboolean  $isAggressive= 'false'

--aggressive key to git-gc

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $isAuto= 'false'

--auto key to git-gc

Default valuefalseDetails
Type
boolean
Propertyprivateboolean  $noPrune= 'false'

--no-prune key to git-gc

Default valuefalseDetails
Type
boolean
Propertyprivatestring  $prune= '2.weeks.ago'

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

Default value2.weeks.agoDetails
Type
string

Methods

methodpublic  getAggressive( ) :
methodpublic  getAuto( ) :
methodpublic  getNoPrune( ) :
methodpublic  getPrune( ) :
methodpublic  isAggressive( ) :
Details
see
\getAggressive()
methodpublic  isAuto( ) :
Details
see
\getAuto()
methodpublic  isNoPrune( ) :
Details
see
\NoPrune()
methodpublic  main( ) :
The main entry point for the task
methodpublic  setAggressive(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setAuto(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setNoPrune(  $flag ) :
Parameters
Name Type Description
$flag
methodpublic  setPrune(  $date ) :
Parameters
Name Type Description
$date
Documentation was generated by DocBlox 0.13.1.