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

Function linux_distribution

fbs_runtime/platform.py:60–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

58 return False
59
60def linux_distribution():
61 if _state.LINUX_DISTRIBUTION is None:
62 _state.LINUX_DISTRIBUTION = _get_linux_distribution()
63 return _state.LINUX_DISTRIBUTION
64
65def _get_linux_distribution():
66 if not is_linux():

Callers 3

is_ubuntuFunction · 0.85
is_arch_linuxFunction · 0.85
is_fedoraFunction · 0.85

Calls 1

_get_linux_distributionFunction · 0.85

Tested by

no test coverage detected