Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
312
def
file_is_cpp(path: Path) -> bool:
313
return
path.suffix.lower() in (
".cc"
,
".cp"
,
".cpp"
,
".cxx"
,
".pch++"
)
314
315
316
def
file_is_c_cpp(path: Path) -> bool:
Callers
3
file_is_c_cpp
Function · 0.85
generate_build_ninja
Function · 0.85
c_build
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected