Files
node/lib/internal
Joyee Cheung d8f73385e2 fs: throw errors on invalid paths synchronously
- Throw getPathFromURL() and nullCheck() errors synchronously instead
  of deferring them to the next tick, since we already throw
  validatePath() errors synchronously.
- Merge nullCheck() into validatePath()
- Never throws in `fs.exists()`, instead, invoke the callback with
  false, or emit a warning when the callback is not a function.
  This is to bring it inline with fs.existsSync(), which never throws.
- Updates the comment of rethrow()
- Throw ERR_INVALID_ARG_VALUE for null checks

PR-URL: https://github.com/nodejs/node/pull/18308
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2018-02-08 18:15:04 +08:00
..
2017-12-24 14:09:29 +08:00
2018-02-01 13:46:56 +01:00
2017-11-16 15:42:46 -08:00
2018-02-04 13:49:06 -08:00
2018-02-01 09:56:51 -08:00
2018-02-01 11:55:13 +01:00
2018-01-29 14:45:06 +01:00
2017-08-14 15:43:10 -04:00
2017-07-07 13:18:19 -07:00
2017-11-24 00:13:44 +01:00

Internal Modules

The modules in lib/internal are intended for internal use in Node.js core only, and are not accessible with require() from user modules. These are subject to change at any time. Reliance on these modules outside of core is not supported in any way.