mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 04:20:17 +00:00
Working through what changed rabbit hole
Parameter dependencies mean we're back in the ball of yarn stage. Coverage is going to drop for a bit, until all the new hashing and interfaces are in place.
This commit is contained in:
@@ -548,6 +548,9 @@ func ExtractExtensions(root *yaml.Node) map[KeyReference[string]]ValueReference[
|
||||
|
||||
// AreEqual returns true if two Hashable objects are equal or not.
|
||||
func AreEqual(l, r Hashable) bool {
|
||||
if l == nil || r == nil {
|
||||
return false
|
||||
}
|
||||
return l.Hash() == r.Hash()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user