MCPcopy 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
238def win_exe(s: str) -> str:
239 return s if sys.platform != 'win32' else f'{s}.exe'

Callers 8

_rscript_execFunction · 0.90
_install_dirFunction · 0.90
health_checkFunction · 0.90

Calls

no outgoing calls