ITag Interface

Summary

Represents a Git tag (lightweight or annotated).
Namespace
GitVersion.Git
Interfaces
graph BT Type-.->Interface0["IEquatable<ITag>"] Type-.->Interface1["IComparable<ITag>"] Type-.->Interface2["INamedReference"] click Interface2 "/api/GitVersion.Git/INamedReference" Type["ITag"] class Type type-node

Syntax

public interface ITag : IEquatable<ITag>, IComparable<ITag>, INamedReference

Properties

Name Value Summary
Commit ICommit
Gets the commit that this tag ultimately resolves to.
TargetSha string
Gets the SHA of the object that this tag directly points to (the tag object SHA for annotated tags, or the commit SHA for lightweight tags).

Extension Methods

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