|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jgit.lib.IndexDiff
public class IndexDiff
Compares the Index, a Tree, and the working directory
| Constructor Summary | |
|---|---|
IndexDiff(Repository repository)
Construct an indexdiff for diffing the workdir against the index. |
|
IndexDiff(Tree tree,
GitIndex index)
Construct an indexdiff for diffing the workdir against both the index and a tree. |
|
| Method Summary | |
|---|---|
boolean |
diff()
Run the diff operation. |
java.util.HashSet<java.lang.String> |
getAdded()
|
java.util.HashSet<java.lang.String> |
getChanged()
|
java.util.HashSet<java.lang.String> |
getMissing()
|
java.util.HashSet<java.lang.String> |
getModified()
|
java.util.HashSet<java.lang.String> |
getRemoved()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IndexDiff(Repository repository)
throws java.io.IOException
repository -
java.io.IOException
public IndexDiff(Tree tree,
GitIndex index)
tree - index - | Method Detail |
|---|
public boolean diff()
throws java.io.IOException
java.io.IOExceptionpublic java.util.HashSet<java.lang.String> getAdded()
public java.util.HashSet<java.lang.String> getChanged()
public java.util.HashSet<java.lang.String> getRemoved()
public java.util.HashSet<java.lang.String> getMissing()
public java.util.HashSet<java.lang.String> getModified()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||