Example usage for Java org.eclipse.jgit.lib ObjectInserter fields, constructors, methods, implement or subclass
The text is from its open source code.
void | close() Release any resources used by this inserter. |
void | flush() Make all inserted objects visible. |
ObjectId | idFor(int type, byte[] data) Compute the name of an object, without inserting it. |
ObjectId | insert(int objectType, long length, InputStream in) Insert a single object into the store, returning its unique name. |
ObjectId | insert(TreeFormatter formatter) Insert a single tree into the store, returning its unique name. |
ObjectId | insert(CommitBuilder builder) Insert a single commit into the store, returning its unique name. |
ObjectId | insert(TagBuilder builder) Insert a single annotated tag into the store, returning its unique name. |
ObjectId | insert(int type, byte[] data) Insert a single object into the store, returning its unique name. |
ObjectReader | newReader() Open a reader for objects that may have been written by this inserter. |