MCPcopy Create free account
hub / github.com/doldecomp/mkdd / file_is_cpp

Function file_is_cpp

tools/project.py:312–313  ·  view source on GitHub ↗
(path: Path)

Source from the content-addressed store, hash-verified

310
311
312def file_is_cpp(path: Path) -> bool:
313 return path.suffix.lower() in (".cc", ".cp", ".cpp", ".cxx", ".pch++")
314
315
316def file_is_c_cpp(path: Path) -> bool:

Callers 3

file_is_c_cppFunction · 0.85
generate_build_ninjaFunction · 0.85
c_buildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected