Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/pex-tool/pex
/ _get_os
Method
_get_os
testing/__init__.py:493–501 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
491
class
UvPython(object):
492
@staticmethod
493
def
_get_os():
494
# type: () -> str
495
496
if
IS_WINDOWS:
497
return
"windows"
498
elif
IS_MAC:
499
return
"macos"
500
else
:
501
return
"linux"
502
503
@staticmethod
504
def
_get_arch():
Callers
1
spec
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected