backend/components/AGitRepository.php
/**
	 * Cleans the working tree by recursively removing files that are not under version control.
	 * @param boolean $deleteDirectories whether to delete directories or not
	 * @param boolean $force whether to force the git to perform a clean.
	 * @return string the response from git
	 */
Cleans the working tree by recursively removing files that are not under version control.
@param boolean $deleteDirectories whether to delete directories or not
@param boolean $force whether to force the git to perform a clean.
@return string the response from git
Cleans the working tree by recursively removing files that are not under version control . @param boolean $deleteDirectories whether to delete directories or not @param boolean $force whether to force the git to perform a clean . @return string the response from git
public function clean($deleteDirectories = false, $force = false)
	{
		$command = "clean";
		if ($deleteDirectories) {
			$command .= " -d";
		}
		if ($force) {
			$command .= " -f";
		}
		return $this->run($command);
	}
public function clean ( $ deleteDirectories = false , $ force = false ) { $ command = " clean " ; if ( $ deleteDirectories ) { $ command .= "  -d " ; } if ( $ force ) { $ command .= "  -f " ; } return $ this -> run ( $ command ) ; }
Cleans the working tree by recursively removing files that are not under version control.
Cleans the working tree by recursively removing files that are not under version control .