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

Function newStore

packages/agent-core/test/utils/per-id-json-store.test.ts:48–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

46});
47
48function newStore() {
49 return createPerIdJsonStore<Sample>({
50 rootDir,
51 subdir: 'things',
52 idRegex: ID_REGEX,
53 isValid: isSample,
54 });
55}
56
57describe('createPerIdJsonStore', () => {
58 it('round-trips a value via write/read', async () => {

Callers 1

Calls 1

createPerIdJsonStoreFunction · 0.90

Tested by

no test coverage detected