- All Implemented Interfaces:
Branch
@Immutable
@Loggable(1)
public final class RtBranch
extends Object
implements Branch
Git branch implementation.
- Since:
- 0.24
-
Method Summary
Commit that the branch currently points to.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
repo
Description copied from interface: Branch
The repo we're in.
- Specified by:
repo in interface Branch
- Returns:
- Repo
-
name
Description copied from interface: Branch
Name of the branch.
- Specified by:
name in interface Branch
- Returns:
- Branch name
-
commit
Description copied from interface: Branch
Commit that the branch currently points to.
- Specified by:
commit in interface Branch
- Returns:
- Commit the branch currently points to