| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Sorry, something went wrong.
|
Fixed error by moving validation back to fs.js and corrected types in node_file.cc. |
Sorry, something went wrong.
|
Hey @evelez7, can you handle the conflicts? You'll see that sync.js file is removed on main branch. |
Sorry, something went wrong.
|
@evelez7 Your changes include the fs/sync.js file. Can you remove it? |
Sorry, something went wrong.
Sorry about that, thought it was removed in the rebase. |
Sorry, something went wrong.
| try { | ||
| return fs.openSync(x, 'r'); | ||
| } catch { | ||
| return 1 << 30; |
There was a problem hiding this comment.
Shouldn't this only be part of the non-existing case?
Sorry, something went wrong.
| int err = uv_fs_fchown(nullptr, &req, fd, uid, gid, nullptr); | ||
| FS_SYNC_TRACE_END(fchown); | ||
| if (err < 0) { | ||
| return env->ThrowUVException(err, "fchown"); |
There was a problem hiding this comment.
This does not need a new binding, it can just be done by switching SyncCall to SyncCallAndThrowOnError in the original FChownSync implementation.
Sorry, something went wrong.
|
This needs a rebase. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Credit to @CanadaHonk for the benchmark using file descriptors.
Ref: nodejs/performance#106