Show / Hide Table of Contents

Class ObjectId

An object id; a unique identifier for a Git object including a commit, tree, blob and tag.

Inheritance
System.Object
ObjectId
Namespace: Dogged
Assembly: Dogged.dll
Syntax
public class ObjectId : object

Constructors

| Improve this Doc View Source

ObjectId(String)

Create an Object ID from the given hexadecimal string.

Declaration
public ObjectId(string hex)
Parameters
Type Name Description
System.String hex

Fields

| Improve this Doc View Source

Zero

The "null oid" consisting of all zeros.

Declaration
public static ObjectId Zero
Field Value
Type Description
ObjectId

Methods

| Improve this Doc View Source

Equals(ObjectId)

Declaration
public bool Equals(ObjectId other)
Parameters
Type Name Description
ObjectId other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
| Improve this Doc View Source

ToString()

Return a hexadecimal string representation of the Object ID.

Declaration
public override string ToString()
Returns
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX