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

Method _CommandifyName

tools/gyp/pylib/gyp/win_tool.py:73–75  ·  view source on GitHub ↗

Transforms a tool name like recursive-mirror to RecursiveMirror.

(self, name_string)

Source from the content-addressed store, hash-verified

71 return getattr(self, method)(*args[1:])
72
73 def _CommandifyName(self, name_string):
74 """Transforms a tool name like recursive-mirror to RecursiveMirror."""
75 return name_string.title().replace("-", "")
76
77 def _GetEnv(self, arch):
78 """Gets the saved environment from a file for a given architecture."""

Callers 1

DispatchMethod · 0.95

Calls 1

titleMethod · 0.45

Tested by

no test coverage detected