MCPcopy Index your code
hub / github.com/coder/mux / getFlagKey

Method getFlagKey

src/node/services/experimentsService.ts:314–318  ·  view source on GitHub ↗
(experimentId: ExperimentId)

Source from the content-addressed store, hash-verified

312 }
313
314 private getFlagKey(experimentId: ExperimentId): string {
315 // Today, our experiment IDs are already PostHog flag keys.
316 // If that ever changes, this is the single mapping point.
317 return experimentId;
318 }
319
320 private async ensureInitialized(): Promise<void> {
321 if (this.cacheLoaded) {

Callers 3

initializeMethod · 0.95
setOverrideMethod · 0.95
refreshExperimentImplMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected