MCPcopy Create free account
hub / github.com/codeaashu/claude-code / consumeNextEagerLoadReason

Function consumeNextEagerLoadReason

src/utils/claudemd.ts:1102–1108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1100let shouldFireHook = true
1101
1102function consumeNextEagerLoadReason(): InstructionsLoadReason | undefined {
1103 if (!shouldFireHook) return undefined
1104 shouldFireHook = false
1105 const reason = nextEagerLoadReason
1106 nextEagerLoadReason = 'session_start'
1107 return reason
1108}
1109
1110/**
1111 * Clears the getMemoryFiles memoize cache

Callers 1

claudemd.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected