MCPcopy Create free account
hub / github.com/coldtype/st2 / _os

Function _os

ST2/util.py:4–4  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3
4def _os(): return platform.system()
5def on_windows(): return _os() == "Windows"
6def on_mac(): return _os() == "Darwin"
7def on_linux(): return _os() == "Linux"

Callers 3

on_windowsFunction · 0.85
on_macFunction · 0.85
on_linuxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected