INNER CODE UNIT · Python
getBindingsFiles
KATRIN-Experiment/Kassiopeia · Scripts/gen-bindings-docs.py:367
def getBindingsFiles(root_paths):
file_list = []
for path_name in root_paths:
for file_name in glob.glob(path_name + '/**', recursive=True):
root, ext = os.path.splitext(file_name)
if ext not in ['.cc', '.cxx', '.cpp', '.h', '.hh', '.hxx', '.hpp']:
continue
if not root.endswith("Builder"):
continue
file_list.append(file_name)
return sorted(file_list)
def processFiles(file_list):
node_aliases = {}
node_list = {}