OpenAPI 1.0

com.aquafold.openapi.vcs
Interface AQGitStatus


public interface AQGitStatus

This object represents the Git repo status.


Method Summary
 String[] getAdded()
           
 String getBranch()
           
 String[] getChanged()
           
 String[] getConflicting()
           
 String[] getMissing()
           
 String[] getModified()
           
 String[] getRemoved()
           
 String[] getUntracked()
           
 

Method Detail

getBranch

String getBranch()
Returns:
the current branch

getAdded

String[] getAdded()
Returns:
list of files added to the index, not in HEAD (e.g. what one get if one calls 'git add ...' on a newly created file)

getChanged

String[] getChanged()
Returns:
list of files changed from HEAD to index (e.g. what one get if one modifies an existing file and call 'git add ...' on it)

getRemoved

String[] getRemoved()
Returns:
list of files removed from index, but in HEAD (e.g. what one get if one calls 'git rm ...' on a existing file)

getMissing

String[] getMissing()
Returns:
list of files in index, but not filesystem (e.g. what one get if one calls 'rm ...' on a existing file)

getModified

String[] getModified()
Returns:
list of files modified on disk relative to the index (e.g. what one get if one modifies an existing file without adding it to the index)

getUntracked

String[] getUntracked()
Returns:
list of files that are not ignored, and not in the index. (e.g. what one get if one creates a new file without adding it to the index)

getConflicting

String[] getConflicting()
Returns:
list of files that are in conflict. (e.g what one get if one modifies file that was modified by someone else in the meantime)

OpenAPI 1.0


Copyright © 2010 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.