Skip to content

Commit

Permalink
src: various minor improvements to node_url
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
jasnell authored and codebytere committed Feb 17, 2020
1 parent 4b0085c commit af612bc
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 118 deletions.
7 changes: 7 additions & 0 deletions src/env.h
Original file line number Diff line number Diff line change
Expand Up @@ -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") \
Expand Down
Loading

0 comments on commit af612bc

Please sign in to comment.