MCPcopy Create free account
hub / github.com/Kitware/VTK / FindModuleFiles

Function FindModuleFiles

Utilities/Maintenance/VisualizeModuleDependencies.py:62–70  ·  view source on GitHub ↗

Get a list of module files in the VTK directory.

(path)

Source from the content-addressed store, hash-verified

60 return (vtkSourceDir, moduleList, moduleTreeDepth)
61
62def FindModuleFiles(path):
63 '''
64 Get a list of module files in the VTK directory.
65 '''
66 moduleFiles = [os.path.join(root, name)
67 for root, dirs, files in os.walk(path)
68 for name in files
69 if name == ("module.cmake")]
70 return moduleFiles
71
72def ParseModuleFile(fileName):
73 '''

Callers 1

mainFunction · 0.85

Calls 1

joinMethod · 0.45

Tested by

no test coverage detected