Example usage for Java org.eclipse.jgit.dircache DirCacheCheckout fields, constructors, methods, implement or subclass
The text is from its open source code.
DirCacheCheckout(Repository repo, DirCache dc, ObjectId mergeCommitTree) Constructs a DirCacheCeckout for checking out one tree, merging with the index. | |
DirCacheCheckout(Repository repo, ObjectId headCommitTree, DirCache dc, ObjectId mergeCommitTree) Constructs a DirCacheCeckout for merging and checking out two trees (HEAD and mergeCommitTree) and the index. | |
DirCacheCheckout(Repository repo, DirCache dc, ObjectId mergeCommitTree, WorkingTreeIterator workingTree) Constructs a DirCacheCeckout for checking out one tree, merging with the index. |
boolean | checkout() Execute this checkout. |
void | checkoutEntry(Repository repo, DirCacheEntry entry, ObjectReader or) Updates the file in the working tree with content and mode from an entry in the index. |
List | getConflicts() Get a list of conflicts created by this checkout |
List | getRemoved() Get list of all files removed by this checkout |
List | getToBeDeleted() Get list of paths of files which couldn't be deleted during last call to #checkout() |
Map | getUpdated() Get list of updated paths and smudgeFilterCommands |
void | setFailOnConflict(boolean failOnConflict) If true , will scan first to see if it's possible to check out, otherwise throw org.eclipse.jgit.errors.CheckoutConflictException . |