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

Method _CommandifyName

tools/gyp/pylib/gyp/flock_tool.py:32–34  ·  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

30 getattr(self, method)(*args[1:])
31
32 def _CommandifyName(self, name_string):
33 """Transforms a tool name like copy-info-plist to CopyInfoPlist"""
34 return name_string.title().replace("-", "")
35
36 def ExecFlock(self, lockfile, *cmd_list):
37 """Emulates the most basic behavior of Linux's flock(1)."""

Callers 1

DispatchMethod · 0.95

Calls 1

titleMethod · 0.45

Tested by

no test coverage detected