MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / file_is_cpp

Function file_is_cpp

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

Source from the content-addressed store, hash-verified

297
298
299def file_is_cpp(path: Path) -> bool:
300 return path.suffix.lower() in (".cc", ".cp", ".cpp", ".cxx")
301
302
303def file_is_c_cpp(path: Path) -> bool:

Callers 2

file_is_c_cppFunction · 0.85
c_buildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected