MCPcopy Create free account
hub / github.com/Snapchat/Valdi / isMetaAddress

Function isMetaAddress

valdi/vscode_debugger/src/common/urlUtils.ts:113–114  ·  view source on GitHub ↗
(address: string)

Source from the content-addressed store, hash-verified

111 * Gets whether the IP address is a meta-address like 0.0.0.0.
112 */
113export const isMetaAddress = (address: string) =>
114 knownMetaAddresses.has(getHostnameFromMaybeUrl(address));
115
116/**
117 * Gets whether the IP is a loopback address.

Callers 1

handleLinkMethod · 0.90

Calls 2

getHostnameFromMaybeUrlFunction · 0.85
hasMethod · 0.65

Tested by

no test coverage detected