diff options
author | James M Snell <jasnell@gmail.com> | 2018-01-21 10:21:25 -0800 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2018-02-05 20:31:04 -0800 |
commit | 329fc78e4919231bf76771797878f7b0db0f73ac (patch) | |
tree | caa109f2904badc5a671abfb1f0f951ac62e6674 /src/env.h | |
parent | 85b37db68465c0947dca78749e8fc01926e3cdfe (diff) | |
download | android-node-v8-329fc78e4919231bf76771797878f7b0db0f73ac.tar.gz android-node-v8-329fc78e4919231bf76771797878f7b0db0f73ac.tar.bz2 android-node-v8-329fc78e4919231bf76771797878f7b0db0f73ac.zip |
fs: add initial set of fs.promises APIs
Initial set of fs.promises APIs with documentation and one
benchmark.
PR-URL: https://github.com/nodejs/node/pull/18297
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r-- | src/env.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -242,7 +242,6 @@ class ModuleWrap; V(sni_context_string, "sni_context") \ V(stack_string, "stack") \ V(status_string, "status") \ - V(statfields_string, "statFields") \ V(stdio_string, "stdio") \ V(subject_string, "subject") \ V(subjectaltname_string, "subjectaltname") \ @@ -284,6 +283,7 @@ class ModuleWrap; V(context, v8::Context) \ V(domain_callback, v8::Function) \ V(fd_constructor_template, v8::ObjectTemplate) \ + V(fsreqpromise_constructor_template, v8::ObjectTemplate) \ V(fdclose_constructor_template, v8::ObjectTemplate) \ V(host_import_module_dynamically_callback, v8::Function) \ V(host_initialize_import_meta_object_callback, v8::Function) \ @@ -313,6 +313,7 @@ class ModuleWrap; V(vm_parsing_context_symbol, v8::Symbol) \ V(url_constructor_function, v8::Function) \ V(write_wrap_constructor_function, v8::Function) \ + V(fs_use_promises_symbol, v8::Symbol) class Environment; |