MCPcopy Create free account
hub / github.com/Keeper-Security/Commander / get_os

Method get_os

keepercommander/loginv3.py:1208–1218  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1206
1207 @staticmethod
1208 def get_os():
1209 if _platform.lower().startswith("linux"):
1210 return "linux"
1211 elif _platform.lower().startswith("darwin"):
1212 return "macOS"
1213 # elif _platform.lower().startswith("win32"):
1214 # return "win32"
1215 # elif _platform.lower().startswith("win64"):
1216 # return "win64"
1217 else:
1218 return _platform
1219
1220 @staticmethod
1221 def get_device_name():

Callers 2

get_device_nameMethod · 0.80
executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected