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

Method _IsBundle

tools/gyp/pylib/gyp/xcode_emulation.py:234–239  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

232 return self.spec["type"] == "shared_library" and self._IsBundle() and self.isIOS
233
234 def _IsBundle(self):
235 return (
236 int(self.spec.get("mac_bundle", 0)) != 0
237 or self._IsXCTest()
238 or self._IsXCUiTest()
239 )
240
241 def _IsXCTest(self):
242 return int(self.spec.get("mac_xctest_bundle", 0)) != 0

Calls 4

_IsXCTestMethod · 0.95
_IsXCUiTestMethod · 0.95
intFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected