MCPcopy
hub / github.com/HKUDS/DeepCode / get_platform

Function get_platform

deepcode.py:26–34  ·  view source on GitHub ↗

Get current platform

()

Source from the content-addressed store, hash-verified

24
25
26def get_platform():
27 """Get current platform"""
28 system = platform.system().lower()
29 if system == "darwin":
30 return "macos"
31 elif system == "windows":
32 return "windows"
33 else:
34 return "linux"
35
36
37def check_dependencies():

Callers 7

check_dependenciesFunction · 0.85
kill_process_on_portFunction · 0.85
install_frontend_depsFunction · 0.85
start_backendFunction · 0.85
start_frontendFunction · 0.85
cleanup_processesFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected