IObjectId Interface

Summary

Represents the SHA-1 object identifier of a Git object.
Namespace
GitVersion.Git
Interfaces
graph BT Type-.->Interface0["IEquatable<IObjectId>"] Type-.->Interface1["IComparable<IObjectId>"] Type["IObjectId"] class Type type-node

Syntax

public interface IObjectId : IEquatable<IObjectId>, IComparable<IObjectId>

Properties

Name Value Summary
Sha string
Gets the full 40-character hexadecimal SHA-1 string.

Methods

Name Value Summary
ToString(int) string
Returns a shortened representation of the SHA using the first prefixLength characters.

Extension Methods

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