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

Function detectFdPath

apps/kimi-code/src/utils/process/fd-detect.ts:40–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38};
39
40export function detectFdPath(): string | null {
41 const managed = getManagedFdPath();
42 if (managed !== null) return managed;
43 return detectSystemFdPath();
44}
45
46export async function ensureFdPath(): Promise<string | null> {
47 const existing = detectFdPath();

Callers 3

fd-detect.test.tsFile · 0.90
KimiTUIClass · 0.90
ensureFdPathFunction · 0.85

Calls 2

getManagedFdPathFunction · 0.85
detectSystemFdPathFunction · 0.85

Tested by

no test coverage detected