MCPcopy Index your code
hub / github.com/jetify-com/devbox / envContext

Method envContext

internal/telemetry/telemetry.go:228–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

226}
227
228func (m *Metadata) envContext() map[string]any {
229 sentryCtx := map[string]any{
230 "In Shell": m.InShell,
231 "In Cloud": m.InCloud,
232 "In Browser": m.InBrowser,
233 }
234 if m.CloudCache != "" {
235 sentryCtx["Cloud Cache"] = m.CloudCache
236 }
237 if m.CloudRegion != "" {
238 sentryCtx["Cloud Region"] = m.CloudRegion
239 }
240 return sentryCtx
241}
242
243func (m *Metadata) featureContext() map[string]any {
244 if len(m.FeatureFlags) == 0 {

Callers 1

ErrorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected