Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coldtype/st2
/ on_windows
Function
on_windows
ST2/util.py:5–5 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
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"
8
Callers
nothing calls this directly
Calls
1
_os
Function · 0.85
Tested by
no test coverage detected