File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Sources/OpenGraph/Runtime Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -63,3 +63,20 @@ extension Metadata: Swift.Hashable, Swift.CustomStringConvertible {
6363 OGTypeApplyFields2 ( type, options: options, body: body)
6464 }
6565}
66+
67+ extension Signature : @retroactive Equatable {
68+
69+ public static func == ( _ lhs: Signature , _ rhs: Signature ) -> Bool {
70+ return lhs. bytes. 0 == rhs. bytes. 0 && lhs. bytes. 1 == rhs. bytes. 1
71+ && lhs. bytes. 2 == rhs. bytes. 2 && lhs. bytes. 3 == rhs. bytes. 3
72+ && lhs. bytes. 4 == rhs. bytes. 4 && lhs. bytes. 5 == rhs. bytes. 5
73+ && lhs. bytes. 6 == rhs. bytes. 6 && lhs. bytes. 7 == rhs. bytes. 7
74+ && lhs. bytes. 8 == rhs. bytes. 8 && lhs. bytes. 9 == rhs. bytes. 9
75+ && lhs. bytes. 10 == rhs. bytes. 10 && lhs. bytes. 11 == rhs. bytes. 11
76+ && lhs. bytes. 12 == rhs. bytes. 12 && lhs. bytes. 13 == rhs. bytes. 13
77+ && lhs. bytes. 14 == rhs. bytes. 14 && lhs. bytes. 15 == rhs. bytes. 15
78+ && lhs. bytes. 16 == rhs. bytes. 16 && lhs. bytes. 17 == rhs. bytes. 17
79+ && lhs. bytes. 18 == rhs. bytes. 18 && lhs. bytes. 19 == rhs. bytes. 19
80+ }
81+
82+ }
You can’t perform that action at this time.
0 commit comments