Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ _find_doc
Function
_find_doc
scripts/dmsdk/gen_cpp.py:57–61 ·
view source on GitHub ↗
(docs, name)
Source
from the content-addressed store, hash-verified
55
return
' '
* indent
56
57
def
_find_doc(docs, name):
58
for
doc in docs[
'items'
]:
59
if
doc.get(
'name'
,
''
) == name:
60
return
doc
61
return
None
62
63
def
_add_line(lines, tag, s):
64
if
s is None:
Callers
1
gen_doc
Function · 0.70
Calls
1
get
Method · 0.65
Tested by
no test coverage detected