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