Object_ID - SwiftDocOrg/Git GitHub Wiki
An object ID.
public struct ID: Equatable, Hashable, CustomStringConvertible, ExpressibleByStringLiteralCustomStringConvertible, Equatable, ExpressibleByStringLiteral, Hashable
public init()public init<T>(_ body: (UnsafeMutablePointer<git_oid>) throws -> T) rethrowsCreates an Object ID from a string.
public init(string: String) throwsCreates an Object ID from a byte array.
public init(bytes: [UInt8]) throwsCreates an Object ID from data.
public init(data: Data) throwspublic init(stringLiteral value: StringLiteralType)var description: Stringpublic static func ==(lhs: Object.ID, rhs: Object.ID) -> Boolpublic func hash(into hasher: inout Hasher)