MCPcopy
hub / github.com/nodejs/undici / get

Method get

lib/interceptor/dns.js:119–121  ·  view source on GitHub ↗
(hostname)

Source from the content-addressed store, hash-verified

117 }
118
119 get (hostname) {
120 return this.#records.get(hostname) ?? null
121 }
122
123 set (hostname, records) {
124 this.#records.set(hostname, records)

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected