org.ajoberstar.grgit.BranchStatus.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of grgit-core Show documentation
Show all versions of grgit-core Show documentation
The Groovy way to use Git
package org.ajoberstar.grgit
import groovy.transform.Immutable
/**
* The tracking status of a branch.
* @since 0.2.0
*/
@Immutable
class BranchStatus {
/**
* The branch this object is for.
*/
Branch branch
/**
* The number of commits this branch is ahead of its upstream.
*/
int aheadCount
/**
* The number of commits this branch is behind its upstream.
*/
int behindCount
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy