MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / isEnabled

Function isEnabled

src/server/startup-profiler.ts:6–9  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4const PROFILE_ENV = 'XCODEBUILDMCP_STARTUP_PROFILE';
5
6function isEnabled(): boolean {
7 const value = process.env[PROFILE_ENV]?.toLowerCase();
8 return value === '1' || value === 'true';
9}
10
11export interface StartupProfiler {
12 readonly enabled: boolean;

Callers 1

createStartupProfilerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected