MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / canAutoStartLocalDaemonForHost

Function canAutoStartLocalDaemonForHost

apps/cli/src/daemon.ts:61–62  ·  view source on GitHub ↗
(hostname: string)

Source from the content-addressed store, hash-verified

59const LOCAL_DAEMON_HOSTNAMES = new Set(["localhost", "127.0.0.1", "::1", "[::1]"]);
60
61export const canAutoStartLocalDaemonForHost = (hostname: string): boolean =>
62 LOCAL_DAEMON_HOSTNAMES.has(hostname.toLowerCase());
63
64/**
65 * Bun's compiled-binary embedded filesystem root, drive-rooted on Windows

Callers 5

daemon.test.tsFile · 0.90
ensureDaemonFunction · 0.90
runBackgroundDaemonStartFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected