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

Method get

packages/server/src/routes/fs.ts:56–56  ·  view source on GitHub ↗
(
    path: string,
    options: { preHandler: unknown[]; schema?: Record<string, unknown> },
    handler: (
      req: {
        id: string;
        params: unknown;
        headers: Record<string, string | string[] | undefined>;
        raw: { on(event: string, cb: () => void): unknown };
      },
      reply: FsDownloadReply,
    ) => unknown,
  )

Source from the content-addressed store, hash-verified

54 ) => Promise<void> | void,
55 ): unknown;
56 get(
57 path: string,
58 options: { preHandler: unknown[]; schema?: Record<string, unknown> },
59 handler: (

Callers 15

downloadHandlerFunction · 0.65
registerFsRoutesFunction · 0.65
handleListFunction · 0.65
handleReadFunction · 0.65
handleListManyFunction · 0.65
handleStatFunction · 0.65
handleStatManyFunction · 0.65
handleMkdirFunction · 0.65
handleSearchFunction · 0.65
handleGrepFunction · 0.65
handleGitStatusFunction · 0.65
handleDiffFunction · 0.65

Implementers 1

DaemonHttpClientapps/kimi-web/src/api/daemon/http.ts

Calls

no outgoing calls

Tested by

no test coverage detected