Example usage for Java org.eclipse.jgit.lib TreeFormatter fields, constructors, methods, implement or subclass
The text is from its open source code.
TreeFormatter() Create an empty formatter with a default buffer size. |
void | append(String name, FileMode mode, AnyObjectId id) Append any entry to the tree. |
void | append(byte[] name, FileMode mode, AnyObjectId id) Append any entry to the tree. |
void | append(String name, RevCommit commit) Add a link to a submodule commit, mode is org.eclipse.jgit.lib.FileMode#GITLINK . |
void | append(String name, RevTree tree) Add a subtree, mode is org.eclipse.jgit.lib.FileMode#TREE . |
void | append(String name, RevBlob blob) Add a regular file, mode is org.eclipse.jgit.lib.FileMode#REGULAR_FILE . |
ObjectId | insertTo(ObjectInserter ins) Insert this tree and obtain its ObjectId. |
byte[] | toByteArray() Copy this formatter's buffer into a byte array. |