Groovy Documentation

org.ajoberstar.gradle.git.tasks
[Java] Class GitStatus

java.lang.Object
  org.gradle.api.DefaultTask
      org.ajoberstar.gradle.git.tasks.GitBase
          org.ajoberstar.gradle.git.tasks.GitStatus

public class GitStatus
extends GitBase

Gets the status of all files in the repository.

Authors:
Evgeny Shepelyuk
Since:
0.3.0


Method Summary
FileCollection getAdded()

Gets all new files added to the index, but not yet commited to HEAD.

FileCollection getChanged()

Gets all existing files with changes added to the index, that have not been committed to HEAD.

FileCollection getConflicting()

Gets all files that are in conflict.

FileCollection getIgnored()

Get files that have been ignored and aren't in the index.

FileCollection getMissing()

Get files that have been deleted from the filesystem, but have not been removed from the index yet.

FileCollection getModified()

Gets all existing files that have been modified, but the changes aren't in the index.

FileCollection getRemoved()

Gets all files that have been removed from the index.

FileCollection getUntracked()

Gets all files that have not been ignored or added to the index.

FileCollection getUntrackedDirs()

Gets all directories that have not been ignored or added to the index.

void status()

 
Methods inherited from class GitBase
getGit, getRepoDir, setRepoPath
 

Method Detail

getAdded

public FileCollection getAdded()
Gets all new files added to the index, but not yet commited to HEAD.
Returns:
file collection of added files


getChanged

public FileCollection getChanged()
Gets all existing files with changes added to the index, that have not been committed to HEAD.
Returns:
file collection of changed files


getConflicting

public FileCollection getConflicting()
Gets all files that are in conflict. This will include files modified by you, but also modified by someone else beforehand.
Returns:
file collection of conflicting files


getIgnored

public FileCollection getIgnored()
Get files that have been ignored and aren't in the index.
Returns:
file collection of ignored files


getMissing

public FileCollection getMissing()
Get files that have been deleted from the filesystem, but have not been removed from the index yet.
Returns:
file collection of missing files


getModified

public FileCollection getModified()
Gets all existing files that have been modified, but the changes aren't in the index.
Returns:
file collection of modified files


getRemoved

public FileCollection getRemoved()
Gets all files that have been removed from the index.
Returns:
file collection of removed files


getUntracked

public FileCollection getUntracked()
Gets all files that have not been ignored or added to the index.
Returns:
file collection of untracked files


getUntrackedDirs

public FileCollection getUntrackedDirs()
Gets all directories that have not been ignored or added to the index.
Returns:
file collection of untracked directories.


status

tion
	public
public void status()


 

Groovy Documentation