MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / _getSubDirectories

Function _getSubDirectories

python/Scripts/genmdl.py:21–23  ·  view source on GitHub ↗
(libraryPath)

Source from the content-addressed store, hash-verified

19 print ('- By default <module_name>="mymodule" and <version>="1.6"')
20
21def _getSubDirectories(libraryPath):
22 return [name for name in os.listdir(libraryPath)
23 if os.path.isdir(os.path.join(libraryPath, name))]
24
25def _getMTLXFilesInDirectory(path):
26 for file in os.listdir(path):

Callers 1

_loadLibrariesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected