Interface Branches

All Known Implementing Classes:
MkBranches

@Immutable public interface Branches
Git branches.
Since:
0.24
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    find(String name)
    Find branches by name.
    Iterate over all branches in the repo.
    Repo which the branches are in.
  • Method Details

    • repo

      Repo repo()
      Repo which the branches are in.
      Returns:
      Repo
    • iterate

      Iterable<Branch> iterate()
      Iterate over all branches in the repo.
      Returns:
      Iterator of branches
      See Also:
    • find

      Branch find(String name)
      Find branches by name.
      Parameters:
      name - The name of the branch.
      Returns:
      Branch found by name
      See Also: