MCPcopy Create free account
hub / github.com/OpenBMB/BMTools / get_platform

Function get_platform

bmtools/tools/shell/api.py:124–129  ·  view source on GitHub ↗

Get platform.

()

Source from the content-addressed store, hash-verified

122
123
124def get_platform() -> str:
125 """Get platform."""
126 system = platform.system()
127 if system == "Darwin":
128 return "MacOS"
129 return system
130
131def get_default_bash_process() -> BashProcess:
132 """Get file path from string."""

Callers 1

build_toolFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected