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

Function fileHistoryEnabledSdk

src/utils/fileHistory.ts:73–78  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

71}
72
73function fileHistoryEnabledSdk(): boolean {
74 return (
75 isEnvTruthy(process.env.CLAUDE_CODE_ENABLE_SDK_FILE_CHECKPOINTING) &&
76 !isEnvTruthy(process.env.CLAUDE_CODE_DISABLE_FILE_CHECKPOINTING)
77 )
78}
79
80/**
81 * Tracks a file edit (and add) by creating a backup of its current contents (if necessary).

Callers 1

fileHistoryEnabledFunction · 0.85

Calls 1

isEnvTruthyFunction · 0.85

Tested by

no test coverage detected