MCPcopy Index your code
hub / github.com/nodejs/node / _XcodeIOSDeviceFamily

Method _XcodeIOSDeviceFamily

tools/gyp/pylib/gyp/xcode_emulation.py:1284–1286  ·  view source on GitHub ↗
(self, configname)

Source from the content-addressed store, hash-verified

1282 return GetStdout(["sw_vers", "-buildVersion"])
1283
1284 def _XcodeIOSDeviceFamily(self, configname):
1285 family = self.xcode_settings[configname].get("TARGETED_DEVICE_FAMILY", "1")
1286 return [int(x) for x in family.split(",")]
1287
1288 def GetExtraPlistItems(self, configname=None):
1289 """Returns a dictionary with extra items to insert into Info.plist."""

Callers 1

GetExtraPlistItemsMethod · 0.95

Calls 3

intFunction · 0.85
getMethod · 0.65
splitMethod · 0.45

Tested by

no test coverage detected