Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symlinks cannot be read/detected by current fs APIs #58

Open
mmmulani opened this issue Jun 17, 2024 · 0 comments
Open

Symlinks cannot be read/detected by current fs APIs #58

mmmulani opened this issue Jun 17, 2024 · 0 comments

Comments

@mmmulani
Copy link

After the filesystem is initalized by fs.init, the node_modules folder is arranged similar to pnpm with symbolic links. However, there is no actual way to find these symbolic links.

Currently fs.stat will follow the symbolic links (which matches the stat behaviour). Ideally, there would be an lstat API along with readlink, so you could determine which files are symbolic links, and also find determine their target.

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

No branches or pull requests

1 participant