GetCurrentCommitsAsync(IRepositoryMonitorContext context) Method

Returns all commits at the tips of any configured branches for the repository.

Syntax

public abstract Task<IReadOnlyDictionary<string, RepositoryCommit>> GetCurrentCommitsAsync(IRepositoryMonitorContext context)

Parameters

context
Type: IRepositoryMonitorContext

Context for the operation.

Returns

All commits at the tips of any configured branches for the repository.