Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fastify/fastify
/ lookupToIp
Function
lookupToIp
test/helper.js:465–467 ·
view source on GitHub ↗
(lookup)
Source
from the content-addressed store, hash-verified
463
}
464
465
function
lookupToIp (lookup) {
466
return
lookup.family === 6 ? `[${lookup.address}]` : lookup.address
467
}
468
469
module.exports.getLoopbackHost =
async
() => {
470
const
lookup =
await
dns.lookup(
'localhost'
)
Callers
1
helper.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected