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