MCPcopy Index your code
hub / github.com/nodejs/node / #getSearchFromParams

Method #getSearchFromParams

lib/internal/url.js:897–900  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

895 }
896
897 #getSearchFromParams() {
898 if (!this.#searchParams?.size) return '';
899 return `?${this.#searchParams}`;
900 }
901
902 #ensureSearchParamsUpdated() {
903 // URL is updated lazily to greatly improve performance when URLSearchParams is updated repeatedly.

Callers 2

#updateContextMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected