MCPcopy
hub / github.com/mherrmann/fbs / is_linux

Function is_linux

fbs_runtime/platform.py:18–22  ·  view source on GitHub ↗

Return True if the current OS is Linux, False otherwise.

()

Source from the content-addressed store, hash-verified

16 return name() == 'Mac'
17
18def is_linux():
19 """
20 Return True if the current OS is Linux, False otherwise.
21 """
22 return name() == 'Linux'
23
24def name():
25 """

Callers 7

test_freeze_installerMethod · 0.90
_upload_repoFunction · 0.90
freezeFunction · 0.90
installerFunction · 0.90
uploadFunction · 0.90
get_default_profilesFunction · 0.90
_get_linux_distributionFunction · 0.85

Calls 1

nameFunction · 0.85

Tested by 1

test_freeze_installerMethod · 0.72