node/lib/internal/fs
Deokjin Kim 28f9089b83 lib: use kEmptyObject as default value for options
`kEmptyObject` is more suitable than {} if options don't
need mutation.

PR-URL: https://github.com/nodejs/node/pull/46011
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
2023-01-05 13:11:42 -03:00
..
cp fs: fix opts.filter issue in cpSync 2022-11-10 09:43:00 -03:00
dir.js lib: use null-prototype objects for property descriptors 2022-06-03 09:23:58 +01:00
promises.js bootstrap: lazy load non-essential modules 2022-12-13 09:42:43 +00:00
read_file_context.js
recursive_watch.js fs: fix nonNativeWatcher watching folder with existing files 2022-12-12 16:17:11 +00:00
rimraf.js
streams.js fs: use kEmptyObject 2022-06-11 12:18:13 +02:00
sync_write_stream.js fs: use kEmptyObject 2022-06-11 12:18:13 +02:00
utils.js fs: refactor to use validateInteger 2023-01-05 13:11:42 -03:00
watchers.js lib: use kEmptyObject as default value for options 2023-01-05 13:11:42 -03:00