Repository navigation
Commit 7b29ce7
committed
fix(filesystem): resolve symlink/junction targets to directory type in readDirectoryEntries
When isSymbolicLink() is true (Linux symlinks, Windows junction points like
OneDrive Desktop), stat() the target to determine if it points to a directory.
Previously these entries were classified as 'symlink' and silently filtered
out by downstream code (file/index.ts), making symlinked directories invisible
in the project picker, @file picker, and file listing on ALL platforms.
This fixes the root cause instead of patching individual filter sites.
Closes anomalyco#28526, also resolves anomalyco#10365 and anomalyco#16342.1 parent 08b1301 commit 7b29ce7
1 file changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
75 | 89 | | |
76 | 90 | | |
77 | 91 | | |
| |||
0 commit comments