MCPcopy Create free account
hub / github.com/auth0/auth0-cli / mergeProperties

Function mergeProperties

internal/cli/root.go:320–332  ·  view source on GitHub ↗
(base map[string]string, override map[string]string)

Source from the content-addressed store, hash-verified

318}
319
320func mergeProperties(base map[string]string, override map[string]string) map[string]string {
321 merged := make(map[string]string, len(base)+len(override))
322
323 for k, v := range base {
324 merged[k] = v
325 }
326
327 for k, v := range override {
328 merged[k] = v
329 }
330
331 return merged
332}
333
334func resolveInstallIDForTracking(cli *cli) string {
335 if cli.Config.InstallID != "" {

Callers 2

trackCommandOutcomeFunction · 0.85
TestMergePropertiesFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestMergePropertiesFunction · 0.68