MCPcopy
hub / github.com/rueckstiess/mtools / source_files

Function source_files

mtools/util/parse_sourcecode.py:23–31  ·  view source on GitHub ↗

Find source files.

(mongodb_path)

Source from the content-addressed store, hash-verified

21
22
23def source_files(mongodb_path):
24 """Find source files."""
25 for root, dirs, files in os.walk(mongodb_path):
26 for filename in files:
27 # skip files in dbtests folder
28 if 'dbtests' in root:
29 continue
30 if filename.endswith(('.cpp', '.c', '.h')):
31 yield os.path.join(root, filename)
32
33
34def get_all_versions():

Callers 1

extract_logsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected