Interface StashView.Source

Enclosing class:
StashView

public static interface StashView.Source
What the view reads from the repository and what its buttons do.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Applies the stash and keeps it.
    void
    Creates a branch from the stash.
    void
    details(Consumer<io.github.jbastgen.stemma.git.api.StashDetails> then)
    Loads the details of the selected stash; then gets them on the JavaFX thread.
    void
    diff(String commitId, String path, Consumer<List<DiffLine>> then)
    The changes of a file in the stash commit (or the commit of the untracked files), as lines.
    void
    Drops the stash.
    void
    pop()
    Applies the stash and drops it.
  • Method Details

    • details

      void details(Consumer<io.github.jbastgen.stemma.git.api.StashDetails> then)
      Loads the details of the selected stash; then gets them on the JavaFX thread.
    • diff

      void diff(String commitId, String path, Consumer<List<DiffLine>> then)
      The changes of a file in the stash commit (or the commit of the untracked files), as lines.
    • apply

      void apply()
      Applies the stash and keeps it.
    • pop

      void pop()
      Applies the stash and drops it.
    • branch

      void branch()
      Creates a branch from the stash.
    • drop

      void drop()
      Drops the stash.