Example usage for Java org.eclipse.jgit.notes NoteMap fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | contains(AnyObjectId id) Determine if a note exists for the specified ObjectId. |
ObjectId | get(AnyObjectId id) Lookup a note for a specific ObjectId. |
NoteMap | newEmptyMap() Construct a new empty note map. |
NoteMap | read(ObjectReader reader, RevCommit commit) Load a collection of notes from a branch. |
NoteMap | read(ObjectReader reader, RevTree tree) Load a collection of notes from a tree. |
void | remove(AnyObjectId noteOn) Remove a note from an object. |
void | set(AnyObjectId noteOn, ObjectId noteData) Attach (or remove) a note on an object. |
String | shortenRefName(String noteRefName) Shorten the note ref name by trimming off the org.eclipse.jgit.lib.Constants#R_NOTES prefix if it exists. |
ObjectId | writeTree(ObjectInserter inserter) Write this note map as a tree. |