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

Method _Appendf

tools/gyp/pylib/gyp/xcode_emulation.py:216–220  ·  view source on GitHub ↗
(self, lst, test_key, format_str, default=None)

Source from the content-addressed store, hash-verified

214 return self._Settings().get(test_key, default) == cond_key
215
216 def _Appendf(self, lst, test_key, format_str, default=None):
217 if test_key in self._Settings():
218 lst.append(format_str % str(self._Settings()[test_key]))
219 elif default:
220 lst.append(format_str % str(default))
221
222 def _WarnUnimplemented(self, test_key):
223 if test_key in self._Settings():

Callers 5

GetCflagsMethod · 0.95
GetCflagsCMethod · 0.95
GetCflagsCCMethod · 0.95
GetLdflagsMethod · 0.95

Calls 3

_SettingsMethod · 0.95
strFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected