Interface FetchGitAheadBehindResponseOrBuilder (0.16.0)

public interface FetchGitAheadBehindResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCommitsAhead()

public abstract int getCommitsAhead()

The number of commits in the remote branch that are not in the workspace.

int32 commits_ahead = 1;

Returns
Type Description
int

The commitsAhead.

getCommitsBehind()

public abstract int getCommitsBehind()

The number of commits in the workspace that are not in the remote branch.

int32 commits_behind = 2;

Returns
Type Description
int

The commitsBehind.