Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/carbonengine/trinity
/ expand_directories
Function
expand_directories
shadercompiler/pythonBuildScript/build.py:31–37 ·
view source on GitHub ↗
(path)
Source
from the content-addressed store, hash-verified
29
30
31
def
expand_directories(path):
32
path = Path(path)
33
if
path.is_dir():
34
for
f in path.rglob(
'*.fx'
):
35
yield
f.resolve()
36
elif
path.suffix.lower() ==
'.fx'
:
37
yield
path.resolve()
38
39
40
def
flatten_paths(paths):
Callers
1
flatten_paths
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected