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

Function _get_header_dir

tools/cscope.py:34–45  ·  view source on GitHub ↗
(dirp)

Source from the content-addressed store, hash-verified

32 return li
33
34def _get_header_dir(dirp):
35 li = []
36 for root, dirs, files in os.walk(dirp):
37 for d in dirs:
38 fpath = os.path.join(root, d)
39 li.extend(_get_header_dir(fpath))
40
41 for f in files:
42 if f[-2:] == '.h':
43 fpath = os.path.join(root, f)
44 li.append(os.path.normpath(fpath))
45 return li
46
47def _get_header(project):
48 li = []

Callers 1

_get_headerFunction · 0.85

Calls 2

walkMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected