node/lib/internal/fs
Tobias Nießen 8c0b723ccb
fs,permission: make handling of buffers consistent
Commit 2000c267dd added explicit handling
of Buffers to fs.symlink, but not to fs.symlinkSync or
fs.promises.symlink. This change adapts the latter two functions to
behave like fs.symlink.

Refs: https://github.com/nodejs/node/pull/49156
Refs: https://github.com/nodejs/node/pull/51212
PR-URL: https://github.com/nodejs/node/pull/52348
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
2024-04-06 07:37:04 +00:00
..
cp fs: do not throw error on cpSync internals 2023-10-23 17:22:28 +00:00
read fs: improve error performance of sync methods 2023-09-17 20:42:46 +00:00
dir.js fs: use private fields instead of symbols for Dir 2023-12-28 06:16:13 +00:00
glob.js fs: expose glob and globSync 2024-03-03 23:15:35 +00:00
promises.js fs,permission: make handling of buffers consistent 2024-04-06 07:37:04 +00:00
recursive_watch.js fs: remove race condition for recursive watch on Linux 2024-01-25 08:53:21 +00:00
rimraf.js fs: add trailing commas in source files 2023-02-20 01:58:32 +01:00
streams.js fs: add flush option to createWriteStream() 2023-10-11 16:25:05 +00:00
sync_write_stream.js fs: call the callback with an error if writeSync fails 2023-06-26 14:18:58 +00:00
utils.js fs: runtime deprecate fs.Stats constructor 2024-03-19 08:17:36 +00:00
watchers.js errors: improve hideStackFrames 2023-11-11 16:25:08 +00:00