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

Method featureContext

internal/telemetry/telemetry.go:243–253  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

241}
242
243func (m *Metadata) featureContext() map[string]any {
244 if len(m.FeatureFlags) == 0 {
245 return nil
246 }
247
248 sentryCtx := make(map[string]any, len(m.FeatureFlags))
249 for name, enabled := range m.FeatureFlags {
250 sentryCtx[name] = enabled
251 }
252 return sentryCtx
253}
254
255func (m *Metadata) pkgContext() map[string]any {
256 if len(m.Packages) == 0 {

Callers 1

ErrorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected