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

Function format_include

deps/inspector_protocol/code_generator.py:174–180  ·  view source on GitHub ↗
(config, header, file_name=None)

Source from the content-addressed store, hash-verified

172
173
174def format_include(config, header, file_name=None):
175 if file_name is not None:
176 header = header + "/" + file_name + ".h"
177 header = "\"" + header + "\"" if header[0] not in "<\"" else header
178 if config.use_snake_file_names:
179 header = to_snake_case(header)
180 return header
181
182
183def format_domain_include(config, header, file_name):

Callers 1

format_domain_includeFunction · 0.70

Calls 1

to_snake_caseFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…