MCPcopy Index your code
hub / github.com/codeaashu/claude-code / getEssentialTrafficOnlyReason

Function getEssentialTrafficOnlyReason

src/utils/privacyLevel.ts:50–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 * or null if unrestricted. Used for user-facing "unset X to re-enable" messages.
49 */
50export function getEssentialTrafficOnlyReason(): string | null {
51 if (process.env.CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC) {
52 return 'CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC'
53 }
54 return null
55}
56

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected