Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ get_resource_path
Function
get_resource_path
testing/util.py:17–18 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
15
16
17
def
get_resource_path(path):
18
return
os.path.join(TESTING_DIR,
'resources'
, path)
19
20
21
def
cmd_output_mocked_pre_commit_home(
Callers
6
local_python_config
Function · 0.90
img_staged
Function · 0.90
_test_img_state
Function · 0.90
test_img_something_unstaged
Function · 0.90
test_img_conflict
Function · 0.90
make_repo
Function · 0.90
Calls
no outgoing calls
Tested by
5
local_python_config
Function · 0.72
img_staged
Function · 0.72
_test_img_state
Function · 0.72
test_img_something_unstaged
Function · 0.72
test_img_conflict
Function · 0.72