MCPcopy Create free account
hub / github.com/MoonshotAI/kimi-code / isWildcard

Function isWildcard

apps/kimi-code/src/cli/sub/server/access-urls.ts:40–42  ·  view source on GitHub ↗
(host: string)

Source from the content-addressed store, hash-verified

38}
39
40function isWildcard(host: string): boolean {
41 return host === '' || host === '0.0.0.0' || host === '::';
42}
43
44/** True when `host` is a loopback address (this host only). */
45export function isLoopbackHost(host: string): boolean {

Callers 1

accessUrlLinesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected