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

Function isDevCliEntrypoint

apps/cli/src/daemon.ts:81–86  ·  view source on GitHub ↗
(scriptPath: string | undefined)

Source from the content-addressed store, hash-verified

79 * Windows test.)
80 */
81export const isDevCliEntrypoint = (scriptPath: string | undefined): boolean => {
82 if (!scriptPath) return false;
83 const normalized = scriptPath.replaceAll("\\", "/");
84 if (normalized.startsWith("/$bunfs/") || WINDOWS_BUNFS_ENTRYPOINT.test(normalized)) return false;
85 return normalized.endsWith(".ts") || normalized.endsWith(".js");
86};
87
88export const isExecutorServerReachable = (
89 input: ExecutorServerReachabilityInput,

Callers 3

daemon.test.tsFile · 0.90
main.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected