| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report✅ All modified and coverable lines are covered by tests. @@ Coverage Diff @@
## main #64775 +/- ##
==========================================
+ Coverage 90.29% 90.30% +0.01%
==========================================
Files 759 759
Lines 247754 247758 +4
Branches 46721 46720 -1
==========================================
+ Hits 223708 223748 +40
+ Misses 15521 15475 -46
- Partials 8525 8535 +10
... and 37 files with indirect coverage changes 🚀 New features to boost your workflow:
|
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Sorry, something went wrong.
Signed-off-by: Kirill Saied <sayed.kirill@gmail.com>
Sorry, something went wrong.
Sorry, something went wrong.
Signed-off-by: Kirill Saied <sayed.kirill@gmail.com> PR-URL: #64775 Reviewed-By: Aviv Keller <me@aviv.sh>
Signed-off-by: Kirill Saied <sayed.kirill@gmail.com> PR-URL: #64775 Reviewed-By: Aviv Keller <me@aviv.sh>
| Back | FazBrowse Home | New Git URL |
src: expose Windows-only fs open flags
libuv honors several Windows-only open flags but Node never exported the constants, so they were unreachable from fs.open(). Expose UV_FS_O_TEMPORARY, UV_FS_O_SHORT_LIVED, UV_FS_O_SEQUENTIAL and UV_FS_O_RANDOM under the UV_FS_O_ prefix, matching the existing UV_FS_O_FILEMAP. They are 0 on non-Windows platforms.
UV_FS_O_TEMPORARY deletes the file when the last handle closes, UV_FS_O_SHORT_LIVED avoids flushing a throwaway file to disk, and UV_FS_O_SEQUENTIAL/UV_FS_O_RANDOM hint the access pattern to optimize caching.