MCPcopy Create free account
hub / github.com/nodejs/node / _AddPathToDict

Method _AddPathToDict

tools/gyp/pylib/gyp/xcodeproj_file.py:1878–1886  ·  view source on GitHub ↗

Adds path to the dict tracking paths belonging to this build phase. If the path is already a member of this build phase, raises an exception.

(self, pbxbuildfile, path)

Source from the content-addressed store, hash-verified

1876 raise NotImplementedError(self.__class__.__name__ + " must implement FileGroup")
1877
1878 def _AddPathToDict(self, pbxbuildfile, path):
1879 """Adds path to the dict tracking paths belonging to this build phase.
1880
1881 If the path is already a member of this build phase, raises an exception.
1882 """
1883
1884 if path in self._files_by_path:
1885 raise ValueError("Found multiple build files with path " + path)
1886 self._files_by_path[path] = pbxbuildfile
1887
1888 def _AddBuildFileToDicts(self, pbxbuildfile, path=None):
1889 """Maintains the _files_by_path and _files_by_xcfilelikeelement dicts.

Callers 1

_AddBuildFileToDictsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected