ICommitCollection Interface

Summary

Represents an ordered, queryable collection of commits in a Git repository.
Namespace
GitVersion.Git
Interfaces
graph BT Type-.->Interface0["IEnumerable<ICommit>"] Type["ICommitCollection"] class Type type-node

Syntax

public interface ICommitCollection : IEnumerable<ICommit>

Methods

Name Value Summary
GetCommitsPriorTo(DateTimeOffset) IEnumerable<ICommit>
Returns all commits whose author date is earlier than olderThan.
QueryBy(CommitFilter) IEnumerable<ICommit>
Returns commits matching the supplied commitFilter.

Extension Methods

Name Value Summary
NotNull<ICommitCollection>(string) T
Throws ArgumentNullException when value is null; otherwise returns the value.
GitHub