Package com.aquafold.openapi.vcs
Interface AQGitStatus
-
public interface AQGitStatusThis object represents the Git repo status.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String[]getAdded()java.lang.StringgetBranch()java.lang.String[]getChanged()java.lang.String[]getConflicting()java.lang.String[]getMissing()java.lang.String[]getModified()java.lang.String[]getRemoved()java.lang.String[]getUntracked()
-
-
-
Method Detail
-
getBranch
java.lang.String getBranch()
- Returns:
- the current branch
-
getAdded
java.lang.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
java.lang.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
java.lang.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
java.lang.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
java.lang.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
java.lang.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
java.lang.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)
-
-