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

Function _save

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

Source from the content-addressed store, hash-verified

43def save_baseline_sha(session_id, sha):
44 """Save the git baseline SHA to state."""
45 def _save(state):
46 state["baseline_sha"] = sha
47 with_locked_state(session_id, _save)
48
49

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected