webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
def | __init__ (self, sys_module, platform_module, executive) |
def | is_mac (self) |
def | is_win (self) |
def | is_cygwin (self) |
def | is_linux (self) |
def | is_freebsd (self) |
def | is_openbsd (self) |
def | is_netbsd (self) |
def | display_name (self) |
def | total_bytes_memory (self) |
def | terminal_width (self) |
def | xcode_sdk_version (self, sdk_name) |
def | xcode_simctl_list (self) |
Public Attributes | |
os_name | |
os_version | |
This class provides a consistent (and mockable) interpretation of system-specific values (like sys.platform and platform.mac_ver()) to be used by the rest of the webkitpy code base. Public (static) properties: -- os_name -- os_version Note that 'future' is returned for os_version if the operating system is newer than one known to the code.
def webkitpy.common.system.platforminfo.PlatformInfo.__init__ | ( | self, | |
sys_module, | |||
platform_module, | |||
executive | |||
) |
def webkitpy.common.system.platforminfo.PlatformInfo.display_name | ( | self | ) |
def webkitpy.common.system.platforminfo.PlatformInfo.is_cygwin | ( | self | ) |
def webkitpy.common.system.platforminfo.PlatformInfo.is_freebsd | ( | self | ) |
def webkitpy.common.system.platforminfo.PlatformInfo.is_linux | ( | self | ) |
def webkitpy.common.system.platforminfo.PlatformInfo.is_mac | ( | self | ) |
def webkitpy.common.system.platforminfo.PlatformInfo.is_netbsd | ( | self | ) |
def webkitpy.common.system.platforminfo.PlatformInfo.is_openbsd | ( | self | ) |
def webkitpy.common.system.platforminfo.PlatformInfo.is_win | ( | self | ) |
def webkitpy.common.system.platforminfo.PlatformInfo.terminal_width | ( | self | ) |
Returns sys.maxint if the width cannot be determined.
def webkitpy.common.system.platforminfo.PlatformInfo.total_bytes_memory | ( | self | ) |
def webkitpy.common.system.platforminfo.PlatformInfo.xcode_sdk_version | ( | self, | |
sdk_name | |||
) |
def webkitpy.common.system.platforminfo.PlatformInfo.xcode_simctl_list | ( | self | ) |
webkitpy.common.system.platforminfo.PlatformInfo.os_name |
webkitpy.common.system.platforminfo.PlatformInfo.os_version |