|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jgit.lib.TreeVisitorWithCurrentDirectory
org.eclipse.jgit.lib.WriteTree
public class WriteTree
A tree visitor for writing a directory tree to the git object database. Blob data is fetched from the files, not the cached blobs.
| Constructor Summary | |
|---|---|
WriteTree(java.io.File sourceDirectory,
Repository db)
Construct a WriteTree for a given directory |
|
| Method Summary | |
|---|---|
void |
endVisitTree(Tree t)
Visit to a tree node. |
void |
visitFile(FileTreeEntry f)
Visit to a blob. |
void |
visitGitlink(GitlinkTreeEntry s)
Visit to a gitlink. |
void |
visitSymlink(SymlinkTreeEntry s)
Visit to a symlink. |
| Methods inherited from class org.eclipse.jgit.lib.TreeVisitorWithCurrentDirectory |
|---|
startVisitTree |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WriteTree(java.io.File sourceDirectory,
Repository db)
sourceDirectory - db - | Method Detail |
|---|
public void visitFile(FileTreeEntry f)
throws java.io.IOException
TreeVisitor
f - Blob
java.io.IOException
public void visitSymlink(SymlinkTreeEntry s)
throws java.io.IOException
TreeVisitor
s - Symlink entry
java.io.IOException
public void endVisitTree(Tree t)
throws java.io.IOException
TreeVisitor
endVisitTree in interface TreeVisitorendVisitTree in class TreeVisitorWithCurrentDirectoryt - Tree
java.io.IOException
public void visitGitlink(GitlinkTreeEntry s)
throws java.io.IOException
TreeVisitor
s - Gitlink entry
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||