MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / canUseIdentity

Method canUseIdentity

src/telemetry/index.ts:409–412  ·  view source on GitHub ↗
(identity: string | null)

Source from the content-addressed store, hash-verified

407 }
408
409 private canUseIdentity(identity: string | null): boolean {
410 const status = this.getStatus();
411 return status.enabled && status.machineId === identity;
412 }
413
414 private readConfig(): ConfigFile | null {
415 // A process-lifetime cache misses another CLI's opt-out. Read the tiny file

Callers 4

flushNowMethod · 0.95
appendLinesMethod · 0.95
recoverStaleClaimsMethod · 0.95
sendMethod · 0.95

Calls 1

getStatusMethod · 0.95

Tested by

no test coverage detected