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

Method _CommandifyName

tools/gyp/pylib/gyp/mac_tool.py:43–45  ·  view source on GitHub ↗

Transforms a tool name like copy-info-plist to CopyInfoPlist

(self, name_string)

Source from the content-addressed store, hash-verified

41 return getattr(self, method)(*args[1:])
42
43 def _CommandifyName(self, name_string):
44 """Transforms a tool name like copy-info-plist to CopyInfoPlist"""
45 return name_string.title().replace("-", "")
46
47 def ExecCopyBundleResource(self, source, dest, convert_to_binary):
48 """Copies a resource file to the bundle/Resources directory, performing any

Callers 1

DispatchMethod · 0.95

Calls 1

titleMethod · 0.45

Tested by

no test coverage detected