|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IndexTreeVisitor
Visitor interface for traversing the index and two trees in parallel. When merging we deal with up to two tree nodes and a base node. Then we figure out what to do. A File argument is supplied to allow us to check for modifications in a work tree or update the file.
| Method Summary | |
|---|---|
void |
finishVisitTree(Tree tree,
int i,
java.lang.String curDir)
Invoked after handling all child nodes of a tree, during two way merge. |
void |
finishVisitTree(Tree tree,
Tree auxTree,
java.lang.String curDir)
Invoked after handling all child nodes of a tree, during a three way merge |
void |
visitEntry(TreeEntry treeEntry,
GitIndex.Entry indexEntry,
java.io.File file)
Visit a blob, and corresponding tree and index entries. |
void |
visitEntry(TreeEntry treeEntry,
TreeEntry auxEntry,
GitIndex.Entry indexEntry,
java.io.File file)
Visit a blob, and corresponding tree nodes and associated index entry. |
| Method Detail |
|---|
void visitEntry(TreeEntry treeEntry,
GitIndex.Entry indexEntry,
java.io.File file)
throws java.io.IOException
treeEntry - indexEntry - file -
java.io.IOException
void visitEntry(TreeEntry treeEntry,
TreeEntry auxEntry,
GitIndex.Entry indexEntry,
java.io.File file)
throws java.io.IOException
treeEntry - auxEntry - indexEntry - file -
java.io.IOException
void finishVisitTree(Tree tree,
Tree auxTree,
java.lang.String curDir)
throws java.io.IOException
tree - auxTree - curDir -
java.io.IOException
void finishVisitTree(Tree tree,
int i,
java.lang.String curDir)
throws java.io.IOException
tree - i - curDir -
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||