MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / nestedMap

Method nestedMap

options/options.go:369–377  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

367}
368
369func (o *Options) nestedMap() map[string]any {
370 nm := make(map[string]any)
371
372 for k, v := range o.m {
373 nestedMapSet(nm, k, v)
374 }
375
376 return nm
377}
378
379// nestedMapSet sets a value in a nested map[string]any structure.
380// If the key has more than one element, it creates nested maps as needed.

Callers 1

NestedMapMethod · 0.95

Calls 1

nestedMapSetFunction · 0.85

Tested by

no test coverage detected