Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pre-commit/pre-commit
/ win_exe
Function
win_exe
pre_commit/util.py:238–239 ·
view source on GitHub ↗
(s: str)
Source
from the content-addressed store, hash-verified
236
237
238
def
win_exe(s: str) -> str:
239
return
s
if
sys.platform !=
'win32'
else
f
'{s}.exe'
Callers
8
_rscript_exec
Function · 0.90
_install_dir
Function · 0.90
install_rust_with_toolchain
Function · 0.90
health_check
Function · 0.90
test_unhealthy_python_goes_missing
Function · 0.90
test_unhealthy_then_replaced
Function · 0.90
test_rscript_exec_relative_to_r_home
Function · 0.90
test_run_example_executable
Function · 0.90
Calls
no outgoing calls
Tested by
4
test_unhealthy_python_goes_missing
Function · 0.72
test_unhealthy_then_replaced
Function · 0.72
test_rscript_exec_relative_to_r_home
Function · 0.72
test_run_example_executable
Function · 0.72