Skip to content

fix: explorer resolves symlinks to their target kind - #67

Open
NolanHo wants to merge 1 commit into
omdsh-dev:mainfrom
NolanHo:fix/explorer-symlink-handling
Open

fix: explorer resolves symlinks to their target kind#67
NolanHo wants to merge 1 commit into
omdsh-dev:mainfrom
NolanHo:fix/explorer-symlink-handling

Conversation

@NolanHo

@NolanHo NolanHo commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Dirent.isDirectory() does not follow symlinks, so a symlink to a directory rendered as a file row and opening it failed the editor read with EISDIR. Probe each symlink once (stat) to classify its target, badge link rows with a link icon, and flag dangling links with error ink plus a tooltip; non-symlink rows skip the probe so large levels stay cheap. Addresses the gap reported in #65.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

Dirent.isDirectory() does not follow symlinks, so a symlink to a
directory rendered as a file row and opening it failed the editor
read with EISDIR. Probe each symlink once (stat) to classify its
target, badge link rows with a link icon, and flag dangling links
with error ink plus a tooltip; non-symlink rows skip the probe so
large levels stay cheap. Addresses the gap reported in omdsh-dev#65.
@NolanHo
NolanHo force-pushed the fix/explorer-symlink-handling branch from 8f1a0c8 to 595104a Compare August 14, 2026 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant