MCPcopy 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
17def get_resource_path(path):
18 return os.path.join(TESTING_DIR, 'resources', path)
19
20
21def cmd_output_mocked_pre_commit_home(

Callers 6

local_python_configFunction · 0.90
img_stagedFunction · 0.90
_test_img_stateFunction · 0.90
test_img_conflictFunction · 0.90
make_repoFunction · 0.90

Calls

no outgoing calls

Tested by 5

local_python_configFunction · 0.72
img_stagedFunction · 0.72
_test_img_stateFunction · 0.72
test_img_conflictFunction · 0.72