Commit 7a7d17e
committed
[Base] Fix infinite recursion on Posix filesystem
When listing all files in a folder, ignore hidden files (which start
with a dot). This prevents parsing ".." as a folder to enter, thus going
back one level and entering an infinite loop of folders to parse.1 parent a14ed35 commit 7a7d17e
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
219 | 219 | | |
220 | 220 | | |
221 | 221 | | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
222 | 226 | | |
223 | 227 | | |
224 | 228 | | |
| |||
0 commit comments