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

Function sessionIndexPathLocal

packages/node-sdk/examples/t8-race-direct.ts:6–8  ·  view source on GitHub ↗
(homeDir: string)

Source from the content-addressed store, hash-verified

4import { join } from 'node:path';
5
6function sessionIndexPathLocal(homeDir: string): string {
7 return join(homeDir, 'session_index.jsonl');
8}
9async function readIndexLocal(homeDir: string): Promise<Map<string, any>> {
10 try {
11 const raw = await readFile(sessionIndexPathLocal(homeDir), 'utf-8');

Callers 2

readIndexLocalFunction · 0.85
appendIndexLocalFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected