MCPcopy Index your code
hub / github.com/nodejs/node / bindDefaultResolver

Function bindDefaultResolver

lib/internal/dns/utils.js:270–275  ·  view source on GitHub ↗
(target, source)

Source from the content-addressed store, hash-verified

268}
269
270function bindDefaultResolver(target, source) {
271 const defaultResolver = getDefaultResolver();
272 ArrayPrototypeForEach(resolverKeys, (key) => {
273 target[key] = FunctionPrototypeBind(source[key], defaultResolver);
274 });
275}
276
277function validateHints(hints) {
278 const { AI_ADDRCONFIG, AI_ALL, AI_V4MAPPED } = lazyBinding();

Callers 4

dns.jsFile · 0.85
promises.jsFile · 0.85

Calls 1

getDefaultResolverFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…