MCPcopy Create free account
hub / github.com/BackendStack21/restana / getConfigOptions

Function getConfigOptions

index.js:65–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63 },
64
65 getConfigOptions () {
66 if (!frozenConfig) {
67 const copy = { ...options }
68 // Deep-clone + deep-freeze nested plain objects so the user's originals
69 // are not mutated as a side effect of calling getConfigOptions().
70 for (const key of Object.keys(copy)) {
71 if (key !== 'server') {
72 copy[key] = deepFreezeObject(copy[key])
73 }
74 }
75 frozenConfig = Object.freeze(copy)
76 }
77 return frozenConfig
78 },
79
80 handle,
81

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…