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

Function getEnvironmentKind

src/utils/filePersistence/outputsScanner.ts:25–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23 * Returns null if not set or not a recognized value.
24 */
25export function getEnvironmentKind(): EnvironmentKind | null {
26 const kind = process.env.CLAUDE_CODE_ENVIRONMENT_KIND
27 if (kind === 'byoc' || kind === 'anthropic_cloud') {
28 return kind
29 }
30 return null
31}
32
33function hasParentPath(
34 entry: object,

Callers 4

copyPlanForResumeFunction · 0.85
runFilePersistenceFunction · 0.85
isFilePersistenceEnabledFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected