-
Notifications
You must be signed in to change notification settings - Fork 156
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
Remove fs.promises.readSync. #810
Comments
Hi @jo-carter,
There is no
Actually it is not While they share the same C function, their behaviour is different depending on the |
Hi @xeioex
Ah yes you're right, I forgot about that quirk in NodeJS's non-promise fs API.
Yes, I also missed that this was for filehandles while scrolling through :) |
This closes nginx#810 issue on Github.
This closes nginx#810 issue on Github.
njs/external/njs_fs_module.c
Line 400 in 606ceb2
All other promise fs functions have their "Sync" postfix removed. Is leaving it in for readSync intentional?
njs/external/njs_fs_module.c
Line 1334 in 606ceb2
I see there is also a fs.promises.read function that appears to be identical.
The text was updated successfully, but these errors were encountered: