MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / CscopeDatabase

Function CscopeDatabase

tools/cscope.py:54–60  ·  view source on GitHub ↗
(project)

Source from the content-addressed store, hash-verified

52 return li
53
54def CscopeDatabase(project):
55 files = set(_get_src(project) + _get_header(project))
56 with open('cscope.files', 'w') as db:
57 db.write('-k\n-q\n')
58 db.write('\n'.join(files))
59 db.flush() # let cscope see the full content
60 os.system('cscope -b')
61

Callers 1

EndBuildingFunction · 0.90

Calls 6

_get_srcFunction · 0.85
_get_headerFunction · 0.85
setFunction · 0.50
openFunction · 0.50
writeMethod · 0.45
joinMethod · 0.45

Tested by

no test coverage detected