MCPcopy Index your code
hub / github.com/pex-tool/pex / current

Method current

pex/resolve/target_system.py:55–63  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

53
54 @classmethod
55 def current(cls):
56 # type: () -> TargetSystem.Value
57 if LINUX:
58 return TargetSystem.LINUX
59 elif MAC:
60 return TargetSystem.MAC
61 elif WINDOWS:
62 return TargetSystem.WINDOWS
63 raise AssertionError(reportable_unexpected_error_msg("Unexpected os {os}", os=sys.platform))
64
65
66TargetSystem.seal()

Callers 2

createMethod · 0.45

Calls 1

Tested by

no test coverage detected