mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 12:37:49 +00:00
fix: cleanup
This commit is contained in:
@@ -70,17 +70,6 @@ func CreateContext(l, r *yaml.Node) *ChangeContext {
|
||||
return ctx
|
||||
}
|
||||
|
||||
func FlattenLowLevelMap[T any](
|
||||
lowMap map[low.KeyReference[string]]low.ValueReference[T],
|
||||
) map[string]*low.ValueReference[T] {
|
||||
flat := make(map[string]*low.ValueReference[T])
|
||||
for i := range lowMap {
|
||||
l := lowMap[i]
|
||||
flat[i.Value] = &l
|
||||
}
|
||||
return flat
|
||||
}
|
||||
|
||||
func FlattenLowLevelOrderedMap[T any](
|
||||
lowMap *orderedmap.Map[low.KeyReference[string], low.ValueReference[T]],
|
||||
) map[string]*low.ValueReference[T] {
|
||||
|
||||
Reference in New Issue
Block a user