MCPcopy
hub / github.com/iaddis/metalnes / collectPossibleHeaders

Function collectPossibleHeaders

external/Catch2/scripts/generateSingleHeader.py:59–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57 return [os.path.join( rootPath, s) for s in ['', 'internal', 'reporters', 'internal/benchmark', 'internal/benchmark/detail']]
58
59 def collectPossibleHeaders():
60 dirs = getDirsToSearch()
61 for dir in dirs:
62 hpps = glob(os.path.join(dir, '*.hpp'))
63 hs = glob(os.path.join(dir, '*.h'))
64 possibleHeaders.update( hpp.rpartition( os.sep )[2] for hpp in hpps )
65 possibleHeaders.update( h.rpartition( os.sep )[2] for h in hs )
66
67
68 def insertCpps():

Callers 1

generateFunction · 0.85

Calls 1

getDirsToSearchFunction · 0.85

Tested by

no test coverage detected