MCPcopy Create free account
hub / github.com/anthropics/claude-code / _load

Function _load

plugins/security-guidance/hooks/diffstate.py:52–53  ·  view source on GitHub ↗
(state)

Source from the content-addressed store, hash-verified

50def load_baseline_sha(session_id):
51 """Load the git baseline SHA from state."""
52 def _load(state):
53 return state.get("baseline_sha")
54 return with_locked_state(session_id, _load)
55
56

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected