aboutsummaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2018-01-21 10:21:25 -0800
committerJames M Snell <jasnell@gmail.com>2018-02-05 20:31:04 -0800
commit329fc78e4919231bf76771797878f7b0db0f73ac (patch)
treecaa109f2904badc5a671abfb1f0f951ac62e6674 /src/env.h
parent85b37db68465c0947dca78749e8fc01926e3cdfe (diff)
downloadandroid-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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/env.h b/src/env.h
index 262ccdef38..0503c7f247 100644
--- a/src/env.h
+++ b/src/env.h
@@ -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;