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

Method add

tools/gyp/pylib/gyp/common.py:599–603  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

597 return key in self.map
598
599 def add(self, key):
600 if key not in self.map:
601 end = self.end
602 curr = end[1]
603 curr[2] = end[1] = self.map[key] = [key, curr, end]
604
605 def discard(self, key):
606 if key in self.map:

Callers 10

FlattenToListMethod · 0.95
DeepDependenciesMethod · 0.95
updateMethod · 0.95
_RuleInputsAndOutputsFunction · 0.95
_GenerateExternalRulesFunction · 0.95
_GetUniquePlatformsFunction · 0.95
_GetLibrariesFunction · 0.95
_PrepareListOfSourcesFunction · 0.95
_AddToolFilesToMSVSFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected