effect
effect copied to clipboard
Option to disable following symlinks in fs.stat
Summary
The user is using Effect Platform and has a question about the fs.stat function. They noticed that the function always follows symbolic links, which causes the isSymbolicLink function to always return false. They suggest using lstat instead to get information about the link. They also mention that if they want to follow the link, they can call realPath before. Tim acknowledges this and suggests that it could be an option to disable following symlinks.
Key takeaways:
- The user is questioning the use of
fs.statandisSymbolicLinkin Effect Platform. - They suggest using
lstatto get information about symbolic links. - Tim suggests that disabling following symlinks could be an option.
Discord thread
https://discord.com/channels/795981131316985866/1195408737301692500