-
Notifications
You must be signed in to change notification settings - Fork 44
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
allow callbacks to make this a giant polyfill? #12
Comments
The trick would of course be how to even emulate access in Node.js, since it's core is permission checking, not really a rename of exists. |
@dougwilson just wrap up the |
It just sounds like a lot of work; you have to check the uid and gid of the process to the file and consider the mode. Then you have the sticky bit and how it changes how those comparisons work (and the meaning of the sticky bit differs by OS). |
And just as a disclaimer I have not really read the fs.access API beyond just that it is used to determine what types of access the process has to a given file. |
done |
since we have node and io.js now, i'm thinking of a library that normalizes both as much as possible. an example is #11. we should add callbacks back and always return promises so people can always use
mz
vs. only for promises./cc @dougwilson @dead-horse
The text was updated successfully, but these errors were encountered: