Files
apple-foundationdb/fdbserver/UID.swift
Vishesh Yadav 6cd5ad2ffe Add code back
2024-07-10 18:52:14 -07:00

15 lines
345 B
Swift

import Flow
import FDBServer
extension Flow.UID: Hashable {
public func hash(into hasher: inout Swift.Hasher) {
self.first().hash(into: &hasher)
self.second().hash(into: &hasher)
}
public static func ==(lhs: UID, rhs: UID) -> Swift.Bool {
lhs.first() == rhs.first() && lhs.second() == rhs.second()
}
}