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

Method GetBundleResourceFolder

tools/gyp/pylib/gyp/xcode_emulation.py:317–323  ·  view source on GitHub ↗

Returns the qualified path to the bundle's resource folder. E.g. Chromium.app/Contents/Resources. Only valid for bundles.

(self)

Source from the content-addressed store, hash-verified

315 return os.path.join(self.GetWrapperName(), "Contents")
316
317 def GetBundleResourceFolder(self):
318 """Returns the qualified path to the bundle's resource folder. E.g.
319 Chromium.app/Contents/Resources. Only valid for bundles."""
320 assert self._IsBundle()
321 if self.isIOS:
322 return self.GetBundleContentsFolderPath()
323 return os.path.join(self.GetBundleContentsFolderPath(), "Resources")
324
325 def GetBundleExecutableFolderPath(self):
326 """Returns the qualified path to the bundle's executables folder. E.g.

Callers 5

GetMacBundleResourcesFunction · 0.80
_GetXcodeEnvFunction · 0.80
WriteMacXCassetsMethod · 0.80

Calls 3

_IsBundleMethod · 0.95
joinMethod · 0.45

Tested by

no test coverage detected