Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ _state_filename_v1
Function
_state_filename_v1
pre_commit/repository.py:25–26 ·
view source on GitHub ↗
(venv: str)
Source
from the content-addressed store, hash-verified
23
24
25
def
_state_filename_v1(venv: str) -> str:
26
return
os.path.join(venv,
'.install_state_v1'
)
27
28
29
def
_state_filename_v2(venv: str) -> str:
Callers
2
_read_state
Function · 0.85
_hook_install
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected