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

Function to_file_name

deps/inspector_protocol/code_generator.py:188–191  ·  view source on GitHub ↗
(config, file_name)

Source from the content-addressed store, hash-verified

186
187
188def to_file_name(config, file_name):
189 if config.use_snake_file_names:
190 return to_snake_case(file_name).replace(".cpp", ".cc")
191 return file_name
192
193
194# ---- End of utilities exposed to generator ----

Callers 1

mainFunction · 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…