Welcome! Log In Create A New Profile

Advanced

[njs] FS: removed fs.promises.readSync() added by mistake.

Anonymous User
November 06, 2024 04:16PM
details: https://github.com/nginx/njs/commit/1a6cc6d2b82e134f175650988949d25061ac9783
branches: master
commit: 1a6cc6d2b82e134f175650988949d25061ac9783
user: Dmitry Volyntsev <xeioex@nginx.com>
date: Tue, 5 Nov 2024 19:01:52 -0800
description:
FS: removed fs.promises.readSync() added by mistake.

This closes #810 issue on Github.

---
external/njs_fs_module.c | 11 -----------
1 file changed, 11 deletions(-)

diff --git a/external/njs_fs_module.c b/external/njs_fs_module.c
index f5221883..5f8924ae 100644
--- a/external/njs_fs_module.c
+++ b/external/njs_fs_module.c
@@ -395,17 +395,6 @@ static njs_external_t njs_ext_fs_promises[] = {
}
},

- {
- .flags = NJS_EXTERN_METHOD,
- .name.string = njs_str("readSync"),
- .writable = 1,
- .configurable = 1,
- .u.method = {
- .native = njs_fs_read,
- .magic8 = NJS_FS_PROMISE,
- }
- },
-
{
.flags = NJS_EXTERN_METHOD,
.name.string = njs_str("readdir"),
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
https://mailman.nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[njs] FS: removed fs.promises.readSync() added by mistake.

Anonymous User 150 November 06, 2024 04:16PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 132
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready