Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
4
def
_os():
return
platform.system()
5
def
on_windows():
return
_os() ==
"Windows"
6
def
on_mac():
return
_os() ==
"Darwin"
7
def
on_linux():
return
_os() ==
"Linux"
Callers
3
on_windows
Function · 0.85
on_mac
Function · 0.85
on_linux
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected