Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/aws/aws-cli
/ _get_distribution
Function
_get_distribution
awscli/clidriver.py:181–185 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
179
180
181
def
_get_distribution():
182
distribution = None
183
if
platform.system() ==
'Linux'
:
184
distribution = _get_linux_distribution()
185
return
distribution
186
187
188
def
_get_linux_distribution():
Callers
2
_add_linux_distribution_to_user_agent
Function · 0.85
_cli_version
Method · 0.85
Calls
1
_get_linux_distribution
Function · 0.85
Tested by
no test coverage detected