Class GitExtensionsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static <T extends AutoCloseable, R extends Any> R useRun(T $self, Function1<T, R> block)
      final static Unit updateRemoteParams(Git $self, GitConfig repo)
      final static GitCommand<Object> setCredentials(TransportCommand<?, ?> $self, GitConfig repo, Project project)
      final static Git gitCloneRepository(Function1<CloneCommand, Unit> action)
      final static Git gitInit(Function1<InitCommand, Unit> action)
      final static Collection<Ref> gitLsRemoteRepository(Function1<LsRemoteCommand, Unit> action)
      final static DirCache add(Git $self, Function1<AddCommand, Unit> action)
      final static ApplyResult apply(Git $self, Function1<ApplyCommand, Unit> action)
      final static OutputStream archive(Git $self, Function1<ArchiveCommand, Unit> action)
      final static BlameResult blame(Git $self, Function1<BlameCommand, Unit> action)
      final static Ref branchCreate(Git $self, Function1<CreateBranchCommand, Unit> action)
      final static List<String> branchDelete(Git $self, Function1<DeleteBranchCommand, Unit> action)
      final static List<Ref> branchList(Git $self, Function1<ListBranchCommand, Unit> action)
      final static Ref branchRename(Git $self, Function1<RenameBranchCommand, Unit> action)
      final static Ref checkout(Git $self, Function1<CheckoutCommand, Unit> action)
      final static CherryPickResult cherryPick(Git $self, Function1<CherryPickCommand, Unit> action)
      final static Set<String> clean(Git $self, Function1<CleanCommand, Unit> action)
      final static RevCommit commit(Git $self, Function1<CommitCommand, Unit> action)
      final static String describe(Git $self, Function1<DescribeCommand, Unit> action)
      final static List<DiffEntry> diff(Git $self, Function1<DiffCommand, Unit> action)
      final static FetchResult fetch(Git $self, Function1<FetchCommand, Unit> action)
      final static Properties gc(Git $self, Function1<GarbageCollectCommand, Unit> action)
      final static Iterable<RevCommit> log(Git $self, Function1<LogCommand, Unit> action)
      final static Collection<Ref> lsRemote(Git $self, Function1<LsRemoteCommand, Unit> action)
      final static MergeResult merge(Git $self, Function1<MergeCommand, Unit> action)
      final static Map<ObjectId, String> nameRev(Git $self, Function1<NameRevCommand, Unit> action)
      final static Note notesAdd(Git $self, Function1<AddNoteCommand, Unit> action)
      final static List<Note> notesList(Git $self, Function1<ListNotesCommand, Unit> action)
      final static Note notesRemove(Git $self, Function1<RemoveNoteCommand, Unit> action)
      final static Note notesShow(Git $self, Function1<ShowNoteCommand, Unit> action)
      final static PullResult pull(Git $self, Function1<PullCommand, Unit> action)
      final static Iterable<PushResult> push(Git $self, Function1<PushCommand, Unit> action)
      final static RebaseResult rebase(Git $self, Function1<RebaseCommand, Unit> action)
      final static Collection<ReflogEntry> reflog(Git $self, Function1<ReflogCommand, Unit> action)
      final static RemoteConfig remoteAdd(Git $self, Function1<RemoteAddCommand, Unit> action)
      final static List<RemoteConfig> remoteList(Git $self, Function1<RemoteListCommand, Unit> action)
      final static RemoteConfig remoteRemove(Git $self, Function1<RemoteRemoveCommand, Unit> action)
      final static RemoteConfig remoteSetUrl(Git $self, Function1<RemoteSetUrlCommand, Unit> action)
      final static Ref reset(Git $self, Function1<ResetCommand, Unit> action)
      final static RevCommit revert(Git $self, Function1<RevertCommand, Unit> action)
      final static DirCache rm(Git $self, Function1<RmCommand, Unit> action)
      final static ObjectId stashApply(Git $self, Function1<StashApplyCommand, Unit> action)
      final static RevCommit stashCreate(Git $self, Function1<StashCreateCommand, Unit> action)
      final static ObjectId stashDrop(Git $self, Function1<StashDropCommand, Unit> action)
      final static Collection<RevCommit> stashList(Git $self, Function1<StashListCommand, Unit> action)
      final static Status status(Git $self, Function1<StatusCommand, Unit> action)
      final static Repository submoduleAdd(Git $self, Function1<SubmoduleAddCommand, Unit> action)
      final static Collection<SubmoduleDeinitResult> submoduleDeinit(Git $self, Function1<SubmoduleDeinitCommand, Unit> action)
      final static Collection<String> submoduleInit(Git $self, Function1<SubmoduleInitCommand, Unit> action)
      final static Map<String, SubmoduleStatus> submoduleStatus(Git $self, Function1<SubmoduleStatusCommand, Unit> action)
      final static Map<String, String> submoduleSync(Git $self, Function1<SubmoduleSyncCommand, Unit> action)
      final static Collection<String> submoduleUpdate(Git $self, Function1<SubmoduleUpdateCommand, Unit> action)
      final static Ref tag(Git $self, Function1<TagCommand, Unit> action)
      final static List<String> tagDelete(Git $self, Function1<DeleteTagCommand, Unit> action)
      final static List<Ref> tagList(Git $self, Function1<ListTagCommand, Unit> action)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • gitInit

         final static Git gitInit(Function1<InitCommand, Unit> action)
      • add

         final static DirCache add(Git $self, Function1<AddCommand, Unit> action)
      • apply

         final static ApplyResult apply(Git $self, Function1<ApplyCommand, Unit> action)
      • blame

         final static BlameResult blame(Git $self, Function1<BlameCommand, Unit> action)
      • branchCreate

         final static Ref branchCreate(Git $self, Function1<CreateBranchCommand, Unit> action)
      • branchList

         final static List<Ref> branchList(Git $self, Function1<ListBranchCommand, Unit> action)
      • branchRename

         final static Ref branchRename(Git $self, Function1<RenameBranchCommand, Unit> action)
      • checkout

         final static Ref checkout(Git $self, Function1<CheckoutCommand, Unit> action)
      • cherryPick

         final static CherryPickResult cherryPick(Git $self, Function1<CherryPickCommand, Unit> action)
      • commit

         final static RevCommit commit(Git $self, Function1<CommitCommand, Unit> action)
      • describe

         final static String describe(Git $self, Function1<DescribeCommand, Unit> action)
      • diff

         final static List<DiffEntry> diff(Git $self, Function1<DiffCommand, Unit> action)
      • fetch

         final static FetchResult fetch(Git $self, Function1<FetchCommand, Unit> action)
      • gc

         final static Properties gc(Git $self, Function1<GarbageCollectCommand, Unit> action)
      • log

         final static Iterable<RevCommit> log(Git $self, Function1<LogCommand, Unit> action)
      • merge

         final static MergeResult merge(Git $self, Function1<MergeCommand, Unit> action)
      • nameRev

         final static Map<ObjectId, String> nameRev(Git $self, Function1<NameRevCommand, Unit> action)
      • notesAdd

         final static Note notesAdd(Git $self, Function1<AddNoteCommand, Unit> action)
      • notesList

         final static List<Note> notesList(Git $self, Function1<ListNotesCommand, Unit> action)
      • notesRemove

         final static Note notesRemove(Git $self, Function1<RemoveNoteCommand, Unit> action)
      • notesShow

         final static Note notesShow(Git $self, Function1<ShowNoteCommand, Unit> action)
      • pull

         final static PullResult pull(Git $self, Function1<PullCommand, Unit> action)
      • push

         final static Iterable<PushResult> push(Git $self, Function1<PushCommand, Unit> action)
      • rebase

         final static RebaseResult rebase(Git $self, Function1<RebaseCommand, Unit> action)
      • reflog

         final static Collection<ReflogEntry> reflog(Git $self, Function1<ReflogCommand, Unit> action)
      • remoteAdd

         final static RemoteConfig remoteAdd(Git $self, Function1<RemoteAddCommand, Unit> action)
      • remoteList

         final static List<RemoteConfig> remoteList(Git $self, Function1<RemoteListCommand, Unit> action)
      • remoteRemove

         final static RemoteConfig remoteRemove(Git $self, Function1<RemoteRemoveCommand, Unit> action)
      • remoteSetUrl

         final static RemoteConfig remoteSetUrl(Git $self, Function1<RemoteSetUrlCommand, Unit> action)
      • reset

         final static Ref reset(Git $self, Function1<ResetCommand, Unit> action)
      • revert

         final static RevCommit revert(Git $self, Function1<RevertCommand, Unit> action)
      • rm

         final static DirCache rm(Git $self, Function1<RmCommand, Unit> action)
      • stashApply

         final static ObjectId stashApply(Git $self, Function1<StashApplyCommand, Unit> action)
      • stashCreate

         final static RevCommit stashCreate(Git $self, Function1<StashCreateCommand, Unit> action)
      • stashDrop

         final static ObjectId stashDrop(Git $self, Function1<StashDropCommand, Unit> action)
      • status

         final static Status status(Git $self, Function1<StatusCommand, Unit> action)
      • submoduleAdd

         final static Repository submoduleAdd(Git $self, Function1<SubmoduleAddCommand, Unit> action)
      • tag

         final static Ref tag(Git $self, Function1<TagCommand, Unit> action)
      • tagList

         final static List<Ref> tagList(Git $self, Function1<ListTagCommand, Unit> action)