MCPcopy Create free account
hub / github.com/mlco2/codecarbon / is_windows_os

Function is_windows_os

codecarbon/core/util.py:95–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

93
94
95def is_windows_os() -> bool:
96 system = sys.platform.lower()
97 return system.startswith("win")
98
99
100def is_linux_os() -> bool:

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…