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

Function ensureFdPath

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

Source from the content-addressed store, hash-verified

44}
45
46export async function ensureFdPath(): Promise<string | null> {
47 const existing = detectFdPath();
48 if (existing !== null) return existing;
49
50 try {
51 return await downloadFd();
52 } catch {
53 return null;
54 }
55}
56
57function detectSystemFdPath(): string | null {
58 for (const name of CANDIDATES) {

Callers 1

Calls 2

detectFdPathFunction · 0.85
downloadFdFunction · 0.85

Tested by

no test coverage detected