Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src/env.h
diff options
context:
space:
mode:
authorJames M Snell <jasnell@gmail.com>2020-02-05 20:17:22 +0300
committerShelley Vohr <shelley.vohr@gmail.com>2020-02-17 23:12:38 +0300
commitaf612bcc2155c05c35c95f51affe067b03ac3e9e (patch)
treee45ad6d19294aed6b6fe88e727274f881a7156fc /src/env.h
parent4b0085c7e39b3a244d82b1896f614eead6211d03 (diff)
src: various minor improvements to node_url
Went hunting for possible performance improvements. Didn't find anything significant but did manage to make a number of style improvements that bring more in line with style guidelines and good pratice. PR-URL: https://github.com/nodejs/node/pull/31651 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'src/env.h')
-rw-r--r--src/env.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/env.h b/src/env.h
index cfac8f72dc0..79f1665f2a9 100644
--- a/src/env.h
+++ b/src/env.h
@@ -371,6 +371,13 @@ constexpr size_t kFsStatsBufferLength =
V(type_string, "type") \
V(uid_string, "uid") \
V(unknown_string, "<unknown>") \
+ V(url_special_ftp_string, "ftp:") \
+ V(url_special_file_string, "file:") \
+ V(url_special_gopher_string, "gopher:") \
+ V(url_special_http_string, "http:") \
+ V(url_special_https_string, "https:") \
+ V(url_special_ws_string, "ws:") \
+ V(url_special_wss_string, "wss:") \
V(url_string, "url") \
V(username_string, "username") \
V(valid_from_string, "valid_from") \