ICommitCollection Interface

Summary

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

Syntax

public interface ICommitCollection : IEnumerable<ICommit>, IEnumerable

Attributes

Type Description
NullableContextAttribute

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 System.ArgumentNullException when value is null; otherwise returns the value.