MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / do_man_dir

Function do_man_dir

tools/MT-Unsafe.py:146–157  ·  view source on GitHub ↗

Recursively process a directory of man-pages.

(directory)

Source from the content-addressed store, hash-verified

144
145
146def do_man_dir(directory):
147 """Recursively process a directory of man-pages."""
148 dprint(1, 'do_man_dir(%s)' % (directory))
149 if os.path.isfile(directory):
150 do_man_page(directory)
151 return
152
153 for path, _, files in os.walk(directory):
154 for file in files:
155 dprint(2, 'calling do_man_page(%s)' % (
156 os.path.join(path, file)))
157 do_man_page(os.path.join(path, file))
158
159
160manpages = set()

Callers 1

MT-Unsafe.pyFile · 0.85

Calls 3

dprintFunction · 0.85
do_man_pageFunction · 0.85
joinMethod · 0.45

Tested by

no test coverage detected