Skip to content

Commit 5e68a13

Browse files
jasnellcodebytere
authored andcommitted
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: #31651 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent cb75ca1 commit 5e68a13

File tree

3 files changed

+138
-118
lines changed

3 files changed

+138
-118
lines changed

Diff for: src/env.h

+7
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,13 @@ constexpr size_t kFsStatsBufferLength =
371371
V(type_string, "type") \
372372
V(uid_string, "uid") \
373373
V(unknown_string, "<unknown>") \
374+
V(url_special_ftp_string, "ftp:") \
375+
V(url_special_file_string, "file:") \
376+
V(url_special_gopher_string, "gopher:") \
377+
V(url_special_http_string, "http:") \
378+
V(url_special_https_string, "https:") \
379+
V(url_special_ws_string, "ws:") \
380+
V(url_special_wss_string, "wss:") \
374381
V(url_string, "url") \
375382
V(username_string, "username") \
376383
V(valid_from_string, "valid_from") \

0 commit comments

Comments
 (0)