Code
Hub
Trending
Following
Digest
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ _state_filename_v2
Function
_state_filename_v2
pre_commit/repository.py:29–30 ·
view source on GitHub ↗
(venv: str)
Source
from the content-addressed store, hash-verified
27
28
29
def
_state_filename_v2(venv: str) -> str:
30
return
os.path.join(venv,
'.install_state_v2'
)
31
32
33
def
_state(additional_deps: Sequence[str]) -> object:
Callers
2
_hook_installed
Function · 0.85
_hook_install
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected