You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
scandir_recursive is used to find shader files in one's shader directory. It has various issues that will probably only occur for less than 0.1% of users:
It should find and return files higher up the directory tree first via breadth-first search, but instead it does a reverse pre-order depth-first search. This can have various performance and resource usage implications in niche situations.
It doesn't properly handle cases where a symlink to a directory higher in the tree (e.g. a node is its own ancestor) causes an infinite loop which only breaks due to max_depth.
scandir_recursive
is used to find shader files in one's shader directory. It has various issues that will probably only occur for less than 0.1% of users:max_depth
.hyprshade/src/hyprshade/utils.py
Lines 19 to 34 in b6de0db
The text was updated successfully, but these errors were encountered: