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

Function ClangFormatWorker

deps/v8/tools/v8_presubmit.py:126–134  ·  view source on GitHub ↗
(command)

Source from the content-addressed store, hash-verified

124 process.kill()
125
126def ClangFormatWorker(command):
127 try:
128 # Run unchecked to only flag timeouts.
129 subprocess.run(
130 command, stderr=subprocess.PIPE, check=False, timeout=30)
131 except:
132 sys.stdout.write(f'Got a clang-format timeout with {command.pop()}\n')
133 return 1
134 return 0
135
136def TorqueLintWorker(command):
137 try:

Callers

nothing calls this directly

Calls 3

popMethod · 0.80
runMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…