Initializes a new instance of the GitObjectId struct.
40-digit SHA1 hash in hex format.
System.ArgumentNullException |
hash is null (Nothing in Visual Basic). |
System.FormatException |
hash is not a valid 40 character hex string. |