Interface JGitUtil
interface JGitUtil
Utility to contain re-used JGit operations. For internal use only.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stream<ModifiedFile>
toModifiedFiles
(org.eclipse.jgit.lib.Repository repository, String oldRef, String newRef) static <T> T
withRepository
(ThrowingFunction<org.eclipse.jgit.lib.Repository, T> function) static <A extends AutoCloseable,
T>
TwithTry
(Supplier<A> closable, ThrowingFunction<A, T> supplier) static <T> T
withTry
(ThrowingSupplier<T> supplier)
-
Method Details
-
withTry
-
withTry
-
withRepository
-
toModifiedFiles
static Stream<ModifiedFile> toModifiedFiles(org.eclipse.jgit.lib.Repository repository, String oldRef, String newRef)
-