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

Method get_os

keepercommander/loginv3.py:1217–1227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1215
1216 @staticmethod
1217 def get_os():
1218 if _platform.lower().startswith("linux"):
1219 return "linux"
1220 elif _platform.lower().startswith("darwin"):
1221 return "macOS"
1222 # elif _platform.lower().startswith("win32"):
1223 # return "win32"
1224 # elif _platform.lower().startswith("win64"):
1225 # return "win64"
1226 else:
1227 return _platform
1228
1229 @staticmethod
1230 def get_device_name():

Callers 2

get_device_nameMethod · 0.80
executeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected