diff options
author | James M Snell <jasnell@gmail.com> | 2017-12-14 10:49:55 -0800 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-12-18 11:11:13 -0800 |
commit | 2ca227f64238e8900d519310c69ac54d16a56729 (patch) | |
tree | ec5e76f7ad8e0ccd9d6e59e5d72ff25180c5f872 /node.gyp | |
parent | 0babd181a0c5d775e62a12b3b04fe4d7654fe80a (diff) | |
download | android-node-v8-2ca227f64238e8900d519310c69ac54d16a56729.tar.gz android-node-v8-2ca227f64238e8900d519310c69ac54d16a56729.tar.bz2 android-node-v8-2ca227f64238e8900d519310c69ac54d16a56729.zip |
fs: refactor FSReqWrap and After
Separate FSReqWrap definition into a new node_file.h.
Add Reject and Resolve methods to encapsulate the callbacks and
make the constructor, destructor protected instead of private
in preparation to make FSReqWrap subclassable for the Promises
implementation.
Rework and simplify the After function slightly in preparation
for a refactor.
Introduce the node::fs namespace instead of using an anonymous
namespace for fs methods.
PR-URL: https://github.com/nodejs/node/pull/17689
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -261,6 +261,7 @@ 'src/node_buffer.h', 'src/node_constants.h', 'src/node_debug_options.h', + 'src/node_file.h', 'src/node_http2.h', 'src/node_http2_state.h', 'src/node_internals.h', |