MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / cloneVariant

Function cloneVariant

benchmark/profiles.go:56–65  ·  view source on GitHub ↗
(variant VariantOverride)

Source from the content-addressed store, hash-verified

54}
55
56func cloneVariant(variant VariantOverride) VariantOverride {
57 cloned := variant
58 if variant.ConfigOverrides != nil {
59 cloned.ConfigOverrides = map[string]any{}
60 for key, value := range variant.ConfigOverrides {
61 cloned.ConfigOverrides[key] = value
62 }
63 }
64 return cloned
65}

Callers 2

GetProfileFunction · 0.85
variantOrDefaultFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected